2001-04-18 02:43:30 +01:00
|
|
|
<sect2>
|
|
|
|
<title>FHS compliance notes</title>
|
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<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>
|
2001-04-18 02:43:30 +01:00
|
|
|
|
2001-08-24 21:45:42 +01:00
|
|
|
<para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &&</userinput>
|
|
|
|
<userinput>sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \</userinput>
|
|
|
|
<userinput> hwclock/hwclock.c > tmp~ &&</userinput>
|
2001-08-29 14:19:58 +01:00
|
|
|
<userinput>mv tmp~ hwclock/hwclock.c &&</userinput>
|
2001-08-24 21:45:42 +01:00
|
|
|
<userinput>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>
|
|
|
|
<title>Installation of Util-Linux</title>
|
|
|
|
|
2001-07-23 13:41:58 +01:00
|
|
|
<para>Install Util-Linux by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-08-07 19:19:50 +01:00
|
|
|
<para><screen><userinput>./configure &&</userinput>
|
|
|
|
<userinput>make HAVE_SLN=yes ADD_RAW=yes &&</userinput>
|
2001-09-16 22:56:25 +01:00
|
|
|
<userinput>make HAVE_SLN=yes ADD_RAW=yes USRGAMES_DIR=/usr/bin install</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|