lfs/chapter06/utillinux-inst.xml
Timothy Bauscher 6a9875daac Applied Bill Maltby's grammatic-fixes patch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2164 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2002-10-06 15:50:25 +00:00

26 lines
787 B
XML

<sect2>
<title>FHS compliance notes</title>
<para>The FHS recommends that we use /var/lib/hwclock, instead of the
usual /etc, as the location of the adjtime file. To make hwclock, which
is part of the util-linux package, FHS-compliant, run the following.</para>
<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &amp;&amp;
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
&nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c &amp;&amp;
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 &amp;&amp;
make HAVE_SLN=yes &amp;&amp;
make HAVE_SLN=yes install</userinput></screen></para>
</sect2>