diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index af8a4fbd3..b97b1bafa 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -2295,7 +2295,7 @@ &external; - None + libcap-ng diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index ac82e9d2f..46c6e5f27 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,98 @@ --> + + 2014-11-01 + + + [bdubbs] - Move the page concerning /etc/shells + from BLFS to LFS Chapter 7. Fixes + #3705. + + + + + + 2014-11-01 + + + [bdubbs] - Update to linux-3.17.2. Fixes + #3704. + + + [bdubbs] - Update to iproute2-3.17.0. Fixes + #3703. + + + + + + 2014-10-31 + + + [bdubbs] - Update to gcc-4.9.2. Fixes + #3702. + + + + + + 2014-10-30 + + + [bdubbs] - Update to libtool-2.4.3. Fixes + #3699. + + + + + + 2014-10-26 + + + [bdubbs] - Update to libpipeline-1.4.0. Fixes + #3698. + + + + + + 2014-10-25 + + + [bdubbs] - Update to tzdata-2014i. Fixes + #3696. + + + [bdubbs] - Update to util-linux-2.25.2. Fixes + #3697. + + + + + + 2014-10-19 + + + [bdubbs] - Remove reference to GMT in Chapter 5 + tcl page. Fixes + #3692. + + + [bdubbs] - Update to linux-3.17.1. Fixes + #3693. + + + [bdubbs] - Update to gettext-0.19.3. Fixes + #3694. + + + [bdubbs] - Update to man-pages-3.75. Fixes + #3695. + + + + 2014-10-11 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 54f54f06a..c28ffdb13 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -65,6 +65,10 @@ Diffutils &diffutils-version; --> + - + - + @@ -124,9 +128,9 @@ - + @@ -142,9 +146,9 @@ Libpipeline &libpipeline-version; - + Linux &linux-version; @@ -208,9 +212,9 @@ Tzdata &tzdata-version; - + @@ -260,6 +264,10 @@ bash-4.3-upstream_fixes-3.patch + + gcc-4.9.1-upstream_fixes-1.patch + + readline-6.3-upstream_fixes-2.patch diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 7636fbe3d..931d4d789 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -83,7 +83,7 @@ --> - + Glibc FHS Patch - &glibc-fhs-patch-size;: diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index f035784c9..58a3f770c 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -104,11 +104,11 @@ done command: sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure - + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 132f54b5d..fa430f574 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -94,11 +94,11 @@ tar -xf ../gmp-&gmp-version;.tar.xz mv -v gmp-&gmp-extracted-version; gmp tar -xf ../mpc-&mpc-version;.tar.gz mv -v mpc-&mpc-version; mpc - + Create a separate build directory again: mkdir -v ../gcc-build diff --git a/chapter05/tcl.xml b/chapter05/tcl.xml index 9a264ad68..92ff30d8e 100644 --- a/chapter05/tcl.xml +++ b/chapter05/tcl.xml @@ -67,7 +67,7 @@ conditions that are not fully understood. Therefore, test suite failures here are not surprising, and are not considered critical. The TZ=UTC parameter sets the time zone to Coordinated - Universal Time (UTC), also known as Greenwich Mean Time (GMT), but only + Universal Time (UTC), but only for the duration of the test suite run. This ensures that the clock tests are exercised correctly. Details on the TZ environment variable are provided in . diff --git a/chapter06/autoconf.xml b/chapter06/autoconf.xml index 97fc0daa6..8f445f4fe 100644 --- a/chapter06/autoconf.xml +++ b/chapter06/autoconf.xml @@ -55,7 +55,8 @@ This takes a long time, about 4.7 SBUs. In addition, 6 tests are skipped that use Automake. For full test coverage, Autoconf can be re-tested - after Automake has been installed. + after Automake has been installed. In addition, one test fails due to + changes in libtool-2.4.3 and later. Install the package: diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index fa4b2ab85..b42ba9adc 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/gcc.xml b/chapter06/gcc.xml index 24abde4fa..6c07d8ae0 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -40,7 +40,7 @@ Installation of GCC - + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: 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/libtool.xml b/chapter06/libtool.xml index 2bbe70945..5271dd5be 100644 --- a/chapter06/libtool.xml +++ b/chapter06/libtool.xml @@ -54,6 +54,9 @@ make check + Five tests are known to fail in the LFS build envronment, + but all tests pass if rechecked after Chapter 6 is complete. + Install the package: make install diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 2a19a5bbb..de57d712a 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -54,16 +54,27 @@ 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 + + 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: diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml index d5c4f11e1..41e5fed22 100644 --- a/chapter07/chapter07.xml +++ b/chapter07/chapter07.xml @@ -19,6 +19,7 @@ + diff --git a/chapter07/etcshells.xml b/chapter07/etcshells.xml new file mode 100644 index 000000000..3e6c334c3 --- /dev/null +++ b/chapter07/etcshells.xml @@ -0,0 +1,48 @@ + + + %general-entities; +]> + + + + + + $LastChangedBy: randy $ + $Date: 2007-04-04 14:42:53 -0500 (Wed, 04 Apr 2007) $ + + + Creating the /etc/shells File + + + /etc/shells + + + The shells file contains a list of + login shells on the system. Applications use this file to determine + whether a shell is valid. For each shell a single line should be + present, consisting of the shell's path, relative to the root of the + directory structure (/). + + For example, this file is consulted by chsh + to determine whether an unprivileged user may change the login shell for her + own account. If the command name is not listed, the user will be denied of + change. + + It is a requirement for applications such as + GDM which does not populate the + face browser if it can't find /etc/shells, or + FTP daemons which traditionally disallow access to users + with shells not included in this file. + +cat > /etc/shells << "EOF" +# Begin /etc/shells + +/bin/sh +/bin/bash + +# End /etc/shells +EOF + + diff --git a/general.ent b/general.ent index dea59c8e6..3a8e18e0e 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - + - + diff --git a/packages.ent b/packages.ent index c62970148..70498a134 100644 --- a/packages.ent +++ b/packages.ent @@ -197,10 +197,10 @@ - - + + - + @@ -220,10 +220,10 @@ - - + + - + @@ -317,10 +317,10 @@ - - + + - + @@ -357,30 +357,30 @@ - - + + - + - - + + - + - - - - + + + + - + + diff --git a/prologue/why.xml b/prologue/why.xml index 2f3743036..453726ae5 100644 --- a/prologue/why.xml +++ b/prologue/why.xml @@ -108,18 +108,12 @@ procedures of every package in LFS. - - D-Bus - - D-Bus is a message bus system, a simple way for applications to - communicate with one another; it is required by Systemd. - - D-Bus This package contains programs to implement a message bus system, - which a simple way for applications to talk to one another. + which a simple way for applications to talk to one another. It is + required by systemd.