mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
2b114b251e
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2411 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
37 lines
1.1 KiB
XML
37 lines
1.1 KiB
XML
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>FHS compliance notes</title>
|
|
|
|
<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
|
|
FHS-compliant, run the following:</para>
|
|
|
|
<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &&
|
|
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
|
|
hwclock/hwclock.c.backup > hwclock/hwclock.c &&
|
|
mkdir -p /var/lib/hwclock</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Util-linux</title>
|
|
|
|
<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>
|
|
|
|
<para><screen><userinput>make HAVE_SLN=yes install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|