diff options
Diffstat (limited to 'chapter06/utillinux-inst.xml')
-rw-r--r-- | chapter06/utillinux-inst.xml | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml index b8d0c88e5..6d0232cf1 100644 --- a/chapter06/utillinux-inst.xml +++ b/chapter06/utillinux-inst.xml @@ -1,9 +1,11 @@ +<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, which -is part of the util-linux package, FHS-compliant, run the following.</para> +is part of the util-linux package, FHS-compliant, run the following:</para> <para><screen><userinput>cp hwclock/hwclock.c{,.backup} && sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ @@ -15,11 +17,20 @@ mkdir -p /var/lib/hwclock</userinput></screen></para> <sect2> <title>Installation of Util-linux</title> -<para>Install Util-linux by running the following commands:</para> +<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>./configure && -make HAVE_SLN=yes && -make HAVE_SLN=yes install</userinput></screen></para> +<para><screen><userinput>make HAVE_SLN=yes install</userinput></screen></para> </sect2> |