From 73aedd1d35747ff2fad4ddf514dca810721a612a Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sat, 1 Nov 2003 22:31:50 +0000 Subject: 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 --- chapter06/utillinux.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) (limited to 'chapter06/utillinux.xml') 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; &aa-utillinux-shortdesc; &aa-utillinux-dep; -&c6-utillinux-inst; + +   + + +FHS compliance notes + +The FHS recommends that we use /var/lib/hwclock, +instead of the usual /etc, as the location for the +adjtime file. To make the hwclock +program FHS-compliant, run the following: + +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 + + + + +Installation of Util-linux + +Prepare Util-linux for compilation: + +./configure + +Compile the package: + +make HAVE_SLN=yes + +The meaning of the make parameter: + + +HAVE_SLN=yes: This prevents the +sln program (a statically linked +ln, already installed by Glibc) from being built +again. + + +And install the package: + +make HAVE_SLN=yes install + + + -- cgit v1.2.3-54-g00ecf