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>
|
|
|
|
|
2003-08-25 22:42:04 +01:00
|
|
|
<para>The FHS recommends that we use <filename>/var/lib/hwclock</filename>,
|
|
|
|
instead of the usual <filename>/etc</filename>, as the location for the
|
|
|
|
<filename>adjtime</filename> file. To make the <userinput>hwclock</userinput>
|
|
|
|
program FHS-compliant, run the following:</para>
|
2001-04-18 02:43:30 +01:00
|
|
|
|
2003-05-13 08:38:47 +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%' \
|
2003-05-13 08:38:47 +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-08-25 22:42:04 +01:00
|
|
|
<para>Prepare Util-linux for compilation:</para>
|
2003-01-17 04:42:53 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>./configure</userinput></screen></para>
|
|
|
|
|
2003-08-25 22:42:04 +01:00
|
|
|
<para>Compile the package:</para>
|
2003-01-17 04:42:53 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make HAVE_SLN=yes</userinput></screen></para>
|
|
|
|
|
2003-08-25 22:42:04 +01:00
|
|
|
<para>The meaning of the make parameter:</para>
|
2003-08-31 11:50:05 +01:00
|
|
|
|
2003-08-25 22:42:04 +01:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><userinput>HAVE_SLN=yes</userinput>: This prevents the
|
|
|
|
<userinput>sln</userinput> program (a statically linked
|
|
|
|
<userinput>ln</userinput>, already installed by Glibc) from being built
|
|
|
|
again.</para></listitem>
|
|
|
|
</itemizedlist>
|
2003-01-17 04:42:53 +00:00
|
|
|
|
2003-08-25 22:42:04 +01:00
|
|
|
<para>And install 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>
|
|
|
|
|