Changeset e1d2da5


Ignore:
Timestamp:
06/19/2021 02:33:43 PM (6 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
1a7dcc4
Parents:
63a0217
Message:

dhcpcd: merged /usr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/connect/dhcpcd.xml

    r63a0217 re1d2da5  
    118118    </para>
    119119
    120 <screen><userinput>./configure --libexecdir=/lib/dhcpcd \
    121             --dbdir=/var/lib/dhcpcd  \
    122             --privsepuser=dhcpcd     &amp;&amp;
     120<screen><userinput>./configure --prefix=/usr                \
     121            --sysconfdir=/etc            \
     122            --libexecdir=/usr/lib/dhcpcd \
     123            --dbdir=/var/lib/dhcpcd      \
     124            --privsepuser=dhcpcd         &amp;&amp;
    123125make</userinput></screen>
    124126
     
    151153
    152154    <para>
    153       <parameter>--libexecdir=/lib/dhcpcd</parameter>: The default
    154       <filename class="directory">/libexec</filename> is not FHS-compliant.
    155       Since this directory may need to be available early in the boot,
    156       <filename class="directory">/usr/libexec</filename> cannot be used either.
     155      <parameter>--libexecdir=/usr/lib/dhcpcd</parameter>: Set a more proper
     156      location for dhcpcd internal libraries.
    157157    </para>
    158158
     
    193193        To configure <command>dhcpcd</command>, you need to first install
    194194        the network service script,
    195         <filename>/lib/services/dhcpcd</filename>
     195        <filename>/usr/lib/services/dhcpcd</filename>
    196196        included in the <xref linkend="bootscripts"/> package
    197197        (as user <systemitem class="username">root</systemitem>):
     
    206206      <note>
    207207        <para id="dhcpcd-config6">
    208           the network service script <filename>/lib/services/dhcpcd</filename>
     208          the network service script <filename>/usr/lib/services/dhcpcd</filename>
    209209          contained in bootscripts up to blfs-bootscripts-20191204 is
    210210          not compatible with latest dhcpcd, as the location of the pidfile
     
    222222          and <filename>/etc/ntp.conf</filename>. These
    223223          modifications to system files are done by hooks which are stored in
    224           <filename class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>.
     224          <filename class="directory">/usr/lib/dhcpcd/dhcpcd-hooks</filename>.
    225225          Setup <command>dhcpcd</command> by removing or adding hooks from/to
    226226          that directory.  The execution of hooks can be disabled by using
     
    381381      <seglistitem>
    382382        <seg>dhcpcd</seg>
    383         <seg>/lib/dhcpcd/dev/udev.so</seg>
    384         <seg>/{,var/}lib/dhcpcd and /usr/share/dhcpcd</seg>
     383        <seg>/usr/lib/dhcpcd/dev/udev.so</seg>
     384        <seg>/{usr,var}/lib/dhcpcd and /usr/share/dhcpcd</seg>
    385385      </seglistitem>
    386386    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.