2001-04-18 02:43:30 +01:00
|
|
|
<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
|
2001-04-18 03:07:15 +01:00
|
|
|
util-linux package, FHS-compliant, run the following.
|
2001-04-18 02:43:30 +01:00
|
|
|
</para>
|
|
|
|
|
2001-07-10 16:06:31 +01:00
|
|
|
<para>
|
|
|
|
<screen>
|
|
|
|
<userinput>sed "s|etc/adjtime\"\$|var/lib/hwclock/adjtime\"|" \</userinput>
|
|
|
|
<userinput> hwclock/hwclock.c > hwclock~ &&</userinput>
|
|
|
|
<userinput>mv hwclock~ hwclock/hwclock.c &&</userinput>
|
|
|
|
<userinput>mkdir /var/lib/hwclock</userinput>
|
|
|
|
</screen>
|
|
|
|
</para>
|
|
|
|
|
2001-04-18 02:43:30 +01:00
|
|
|
</sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Util-Linux</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install Util-Linux by running the following commands:
|
|
|
|
</para>
|
|
|
|
|
2001-07-10 16:06:31 +01:00
|
|
|
<para>
|
|
|
|
<screen>
|
|
|
|
<userinput>sed s/HAVE_SLN=no/HAVE_SLN=yes/ \</userinput>
|
|
|
|
<userinput> MCONFIG > MCONFIG~ &&</userinput>
|
|
|
|
<userinput>mv MCONFIG~ MCONFIG &&</userinput>
|
|
|
|
<userinput>./configure &&</userinput>
|
|
|
|
<userinput>make &&</userinput>
|
|
|
|
<userinput>make install</userinput>
|
|
|
|
</screen>
|
|
|
|
</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|