mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
32cee45c71
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1913 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
26 lines
802 B
XML
26 lines
802 B
XML
<sect2>
|
|
<title>FHS compliance notes</title>
|
|
|
|
<para>The FHS recommends that we use /var/lib/hwclock as the location of the
|
|
adjtime file, instead of the usual /etc. To make hwclock, which is part of the
|
|
util-linux package, FHS-compliant, run the following.</para>
|
|
|
|
<para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &&
|
|
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
|
|
hwclock/hwclock.c.backup > hwclock/hwclock.c &&
|
|
mkdir -p /var/lib/hwclock</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Util-linux</title>
|
|
|
|
<para>Install Util-linux by running the following commands:</para>
|
|
|
|
<para><screen><userinput>./configure &&
|
|
make HAVE_SLN=yes &&
|
|
make HAVE_SLN=yes install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|