mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
Merge the 2 role="installation" sections in util-linux, using the same layout
as for glibc to explain the FHS compliance. Note also that /var/lib/hwclock only contains adjtime, so it is not a "storage location" IMHO. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11867 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
fcd8dc38ed
commit
18fa90938b
@ -40,27 +40,16 @@
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>FHS compliance notes</title>
|
||||
<title>Installation of Util-linux</title>
|
||||
|
||||
<para>The FHS recommends using the <filename
|
||||
class="directory">/var/lib/hwclock</filename> directory instead of the
|
||||
usual <filename class="directory">/etc</filename> directory as the
|
||||
location for the <filename>adjtime</filename> file. First create a directory
|
||||
to enable storage for the <command>hwclock</command> program:</para>
|
||||
location for the <filename>adjtime</filename> file. Create this directory
|
||||
with:</para>
|
||||
|
||||
<screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Util-linux</title>
|
||||
<!--
|
||||
<para>First, fix one of the regression tests:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E </E) <=/' -e 's/ne /eq /' \
|
||||
-i tests/ts/ipcs/limits2</userinput></screen>
|
||||
-->
|
||||
|
||||
<para>Remove the earlier created symlinks and files:</para>
|
||||
|
||||
<screen><userinput remap="pre">rm -vf /usr/include/{blkid,libfdisk,libmount,uuid}
|
||||
|
Loading…
Reference in New Issue
Block a user