From 3d92d63bde160bc5ac98f44ec2cc5dd524e06042 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 14 Jun 2020 15:24:09 +0000 Subject: [PATCH] Minor updates. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11939 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/ncurses.xml | 19 +------------------ chapter07/stripping.xml | 19 +++++++++++++------ chapter08/automake.xml | 14 -------------- chapter08/bison.xml | 25 +++---------------------- chapter08/shadow.xml | 3 +-- 5 files changed, 18 insertions(+), 62 deletions(-) diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 38da3ca22..5c48b3619 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -105,14 +105,6 @@ popd - - --enable-pc-files - - This switch generates and installs .pc files for pkg-config. - - - - --without-normal @@ -120,16 +112,7 @@ popd - + Compile the package: diff --git a/chapter07/stripping.xml b/chapter07/stripping.xml index 431affdc3..a31faadc3 100644 --- a/chapter07/stripping.xml +++ b/chapter07/stripping.xml @@ -107,7 +107,7 @@ strip --strip-unneeded $LFS/tools/bin/* - Backup / Restore + Backup Now that the essential tools have been created, its time to think about @@ -141,6 +141,10 @@ tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz . do not want to have the backup stored in root's home directory. + + + + Restore In case some mistakes have been made and you need to start over, you can @@ -152,13 +156,16 @@ tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz . restore the backup by executing the following commands: -cd $LFS && -rm -rf ./* && -tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz + -cd $LFS && +cd $LFS && rm -rf ./* && -tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz +tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz + +cd $LFS && +rm -rf ./* && +tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz Again, double check that the environment has been setup properly diff --git a/chapter08/automake.xml b/chapter08/automake.xml index 7c4143e91..f89f71ced 100644 --- a/chapter08/automake.xml +++ b/chapter08/automake.xml @@ -53,26 +53,12 @@ make - - Using the -j4 make option speeds up the tests, even on systems with only one processor, due to internal delays in individual tests. To test the results, issue: - - make -j4 check - - One test is known to fail in the LFS environment: - tags-lisp-space.sh. - Install the package: make install diff --git a/chapter08/bison.xml b/chapter08/bison.xml index 687cdf9ee..1727660d8 100644 --- a/chapter08/bison.xml +++ b/chapter08/bison.xml @@ -39,38 +39,19 @@ Installation of Bison - Prepare Bison for compilation: ./configure --prefix=/usr --docdir=/usr/share/doc/bison-&bison-version; - - Compile the package: make - To test the results (about 5.5 SBU), issue: + The tests are known to fail using multiple processors. + To test the results (about 5.5 SBU), issue: -make check - - Fourteen tests fail in the "Diagnostics" section, probably because of - missing locales. - - +make -j1 check Install the package: diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 36a81d966..3ccbfbb58 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -67,8 +67,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;/var/mail location used currently: - -sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ +sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ -e 's:/var/spool/mail:/var/mail:' \ -i etc/login.defs