diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
commit | 73aedd1d35747ff2fad4ddf514dca810721a612a (patch) | |
tree | d05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/utillinux.xml | |
parent | 0b400add2ba87352e955326bcb931e53864cc2ae (diff) |
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/utillinux.xml')
-rw-r--r-- | chapter06/utillinux.xml | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/chapter06/utillinux.xml b/chapter06/utillinux.xml index 6238ca924..487736df2 100644 --- a/chapter06/utillinux.xml +++ b/chapter06/utillinux.xml @@ -7,6 +7,49 @@ Estimated required disk space: &util-linux-compsize;</screen> &aa-utillinux-shortdesc; &aa-utillinux-dep; -&c6-utillinux-inst; + +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>FHS compliance notes</title> + +<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> + +<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> + +</sect2> + +<sect2> +<title>Installation of Util-linux</title> + +<para>Prepare Util-linux for compilation:</para> + +<screen><userinput>./configure</userinput></screen> + +<para>Compile the package:</para> + +<screen><userinput>make HAVE_SLN=yes</userinput></screen> + +<para>The meaning of the make parameter:</para> + +<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> + +<para>And install the package:</para> + +<screen><userinput>make HAVE_SLN=yes install</userinput></screen> + +</sect2> </sect1> + |