blob: 9d5ea9bccaac50033269fc3b390213cceb887029 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<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
util-linux package, FHS-compliant, run the following.</para>
<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>
<userinput>mv tmp~ hwclock/hwclock.c &&</userinput>
<userinput>mkdir -p /var/lib/hwclock</userinput></screen></para>
</sect2>
<sect2>
<title>Installation of Util-Linux</title>
<para>Install Util-Linux by running the following commands:</para>
<para><screen><userinput>./configure &&</userinput>
<userinput>make HAVE_SLN=yes ADD_RAW=yes &&</userinput>
<userinput>make HAVE_SLN=yes ADD_RAW=yes USRGAMES_DIR=/usr/bin install</userinput></screen></para>
</sect2>
|