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
|
|
|
|
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
|
|
|
|
2002-05-26 22:25:09 +01:00
|
|
|
<para>Install Util-linux by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-10-27 23:21:44 +01:00
|
|
|
<para><screen><userinput>./configure &&
|
2002-01-21 23:32:13 +00:00
|
|
|
make HAVE_SLN=yes &&
|
|
|
|
make HAVE_SLN=yes install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|