lfs/chapter06/utillinux-inst.xml
Gerard Beekmans d41f4eae7b Placed \ and </userinput> on the same line to avoid a space being placed
after \ which will cause a problem when copy&pasting that line into a
shell


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@659 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-05-26 10:16:48 +00:00

39 lines
1.1 KiB
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>
<blockquote><literallayout>
<userinput>sed "s|etc/adjtime\"\$|var/lib/hwclock/adjtime\"|"
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;hwclock/hwclock.c &gt; hwclock~
&amp;&amp;</userinput>
<userinput>mv hwclock~ hwclock/hwclock.c &amp;&amp;</userinput>
<userinput>mkdir /var/lib/hwclock</userinput>
</literallayout></blockquote>
</sect2>
<sect2>
<title>Installation of Util-Linux</title>
<para>
Install Util-Linux by running the following commands:
</para>
<blockquote><literallayout>
<userinput>sed s/HAVE_SLN=no/HAVE_SLN=yes/ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;MCONFIG &gt; MCONFIG~
&amp;&amp;</userinput>
<userinput>mv MCONFIG~ MCONFIG &amp;&amp;</userinput>
<userinput>./configure &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install</userinput>
</literallayout></blockquote>
</sect2>