2003-01-17 04:42:53 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-04-18 02:43:30 +01:00
|
|
|
<sect2>
|
|
|
|
<title>FHS compliance notes</title>
|
|
|
|
|
2002-10-06 16:50:25 +01:00
|
|
|
<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
|
2003-01-17 04:42:53 +00:00
|
|
|
is part of the util-linux package, FHS-compliant, run the following:</para>
|
2001-04-18 02:43:30 +01:00
|
|
|
|
2002-09-02 16:46:18 +01:00
|
|
|
<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &&
|
2001-10-27 23:21:44 +01:00
|
|
|
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
|
2002-05-02 21:15:02 +01:00
|
|
|
hwclock/hwclock.c.backup > hwclock/hwclock.c &&
|
2001-10-27 23:21:44 +01:00
|
|
|
mkdir -p /var/lib/hwclock</userinput></screen></para>
|
2001-07-10 16:06:31 +01:00
|
|
|
|
2001-04-18 02:43:30 +01:00
|
|
|
</sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
2002-05-26 22:25:09 +01:00
|
|
|
<title>Installation of Util-linux</title>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 04:42:53 +00:00
|
|
|
<para>Prepare Util-linux to be compiled:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>./configure</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>Continue with compiling the package:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>make HAVE_SLN=yes</userinput></screen></para>
|
|
|
|
|
|
|
|
<para>The <emphasis>HAVE_SLN</emphasis> option prevents this package,
|
|
|
|
which was already was installed by Glibc, from being built again.</para>
|
|
|
|
|
|
|
|
<para>Finish installing the package:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-17 04:42:53 +00:00
|
|
|
<para><screen><userinput>make HAVE_SLN=yes install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|