mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
dhcpcd: merged /usr
This commit is contained in:
parent
63a0217b19
commit
e1d2da5d09
@ -117,9 +117,11 @@ chown -v dhcpcd:dhcpcd /var/lib/dhcpcd </userinput></screen>
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --libexecdir=/lib/dhcpcd \
|
||||
--dbdir=/var/lib/dhcpcd \
|
||||
--privsepuser=dhcpcd &&
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libexecdir=/usr/lib/dhcpcd \
|
||||
--dbdir=/var/lib/dhcpcd \
|
||||
--privsepuser=dhcpcd &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -150,10 +152,8 @@ install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</useri
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>--libexecdir=/lib/dhcpcd</parameter>: The default
|
||||
<filename class="directory">/libexec</filename> is not FHS-compliant.
|
||||
Since this directory may need to be available early in the boot,
|
||||
<filename class="directory">/usr/libexec</filename> cannot be used either.
|
||||
<parameter>--libexecdir=/usr/lib/dhcpcd</parameter>: Set a more proper
|
||||
location for dhcpcd internal libraries.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -192,7 +192,7 @@ install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</useri
|
||||
<para>
|
||||
To configure <command>dhcpcd</command>, you need to first install
|
||||
the network service script,
|
||||
<filename>/lib/services/dhcpcd</filename>
|
||||
<filename>/usr/lib/services/dhcpcd</filename>
|
||||
included in the <xref linkend="bootscripts"/> package
|
||||
(as user <systemitem class="username">root</systemitem>):
|
||||
</para>
|
||||
@ -205,7 +205,7 @@ install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</useri
|
||||
|
||||
<note>
|
||||
<para id="dhcpcd-config6">
|
||||
the network service script <filename>/lib/services/dhcpcd</filename>
|
||||
the network service script <filename>/usr/lib/services/dhcpcd</filename>
|
||||
contained in bootscripts up to blfs-bootscripts-20191204 is
|
||||
not compatible with latest dhcpcd, as the location of the pidfile
|
||||
changed.
|
||||
@ -221,7 +221,7 @@ install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</useri
|
||||
and mtu. It also overwrites <filename>/etc/resolv.conf </filename>
|
||||
and <filename>/etc/ntp.conf</filename>. These
|
||||
modifications to system files are done by hooks which are stored in
|
||||
<filename class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>.
|
||||
<filename class="directory">/usr/lib/dhcpcd/dhcpcd-hooks</filename>.
|
||||
Setup <command>dhcpcd</command> by removing or adding hooks from/to
|
||||
that directory. The execution of hooks can be disabled by using
|
||||
the <option>--nohook</option> (<option>-C</option>) command line
|
||||
@ -380,8 +380,8 @@ EOF</userinput></screen>
|
||||
|
||||
<seglistitem>
|
||||
<seg>dhcpcd</seg>
|
||||
<seg>/lib/dhcpcd/dev/udev.so</seg>
|
||||
<seg>/{,var/}lib/dhcpcd and /usr/share/dhcpcd</seg>
|
||||
<seg>/usr/lib/dhcpcd/dev/udev.so</seg>
|
||||
<seg>/{usr,var}/lib/dhcpcd and /usr/share/dhcpcd</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user