diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter06/utillinux.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/utillinux.xml')
-rw-r--r-- | chapter06/utillinux.xml | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/chapter06/utillinux.xml b/chapter06/utillinux.xml deleted file mode 100644 index fd543bdbb..000000000 --- a/chapter06/utillinux.xml +++ /dev/null @@ -1,66 +0,0 @@ -<sect1 id="ch-system-util-linux" xreflabel="Util-linux"> -<title>Installing Util-linux-&util-linux-version;</title> -<?dbhtml filename="util-linux.html" dir="chapter06"?> - -<para>The Util-linux package contains miscellaneous utility programs. Among -them are utilities for handling file systems, consoles, partitions, and -messages.</para> - -<screen>&buildtime; &util-linux-time; -&diskspace; &util-linux-compsize;</screen> - -&aa-utillinux-down; -&aa-utillinux-dep; - -<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 <command>hwclock</command> -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_KILL=yes HAVE_SLN=yes</userinput></screen> - -<para>The meaning of the make parameters:</para> - -<itemizedlist> -<listitem><para><userinput>HAVE_KILL=yes</userinput>: This prevents the -<command>kill</command> program (already installed by Procps) from being -built and installed again.</para></listitem> - -<listitem><para><userinput>HAVE_SLN=yes</userinput>: This prevents the -<command>sln</command> program (a statically linked -<command>ln</command>, already installed by Glibc) from being built and -installed again.</para></listitem> -</itemizedlist> - -<para>And install the package:</para> - -<screen><userinput>make HAVE_KILL=yes HAVE_SLN=yes install</userinput></screen> - -</sect2> - -&aa-utillinux-shortdesc; -&aa-utillinux-desc; - -</sect1> - |