From 96e9f0bd0ae9d5e539abbcec8109ec5e1f103e30 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 25 Oct 2014 01:04:51 +0000 Subject: Add an instruction to the eudev install to create the initial /etc/udev/hwdb.bin file. Update to tzdata-2014i. Update to util-linux-2.25.2. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10779 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils.xml | 12 ++++++++++++ chapter06/eudev.xml | 6 ++++-- chapter06/gmp.xml | 2 +- chapter06/util-linux.xml | 21 +++++++++++++++++---- 4 files changed, 34 insertions(+), 7 deletions(-) (limited to 'chapter06') diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index b54061eba..81853cab7 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -71,6 +71,15 @@ touch Makefile.in The meaning of the configure options: + + FORCE_UNSAFE_CONFIGURE=1 + + This environment variable allows the package to be + built as the root user. + + + + --enable-no-install-program=kill,uptime @@ -112,6 +121,9 @@ touch Makefile.in su nobody -s /bin/bash \ -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" + The stty-pairs test is known to fail on a virtual console, but + passes if run in a X terminal. + Remove the temporary group: sed -i '/dummy/d' /etc/group diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 8b31ae329..7d49c3555 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -80,9 +80,11 @@ mkdir -pv /etc/udev/rules.d make check - Install the package: + Install the package and creat the initial + /etc/udev/hwdb.bin file: -make install +make install +udevadm hwdb --update Now, install the man pages: diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml index a16500a28..3e44abfcc 100644 --- a/chapter06/gmp.xml +++ b/chapter06/gmp.xml @@ -67,7 +67,7 @@ - --docdir=/usr/share/doc-gmp&gmp-version; + --docdir=/usr/share/doc/gmp&gmp-version; This variable specifies the correct place for the documentation. diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 2a19a5bbb..223197be2 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -54,16 +54,29 @@ Installation of Util-linux - + Prepare Util-linux for compilation: -./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ - --docdir=/usr/share/doc/util-linux-&util-linux-version; +./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --docdir=/usr/share/doc/util-linux-&util-linux-version; \ + --disable-chfn-chsh \ + --disable-login \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --without-python \ + --without-systemd \ + --without-systemdsystemunitdir + + The --disable and --without options prevent warnings about + building components that require packages not in LFS or are + inconsistent with programs installed by other packages. Compile the package: -- cgit v1.2.3-54-g00ecf