diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index a76aefce0..17219181a 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -439,8 +439,8 @@ &dependencies; - Bash, Coreutils, Diffutils, Expat, GCC, Grep, Make, and - Sed + Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, + Make, Sed, and Util-linux @@ -448,7 +448,7 @@ &testsuites; - D-Bus Glib Bindings, Python + None @@ -456,7 +456,7 @@ &before; - Systemd + None @@ -464,7 +464,7 @@ &external; - None + Xorg Libs @@ -483,7 +483,7 @@ &testsuites; - + None @@ -539,6 +539,42 @@ + + Expat + + + &dependencies; + + + Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, + Make, and Sed + + + + + &testsuites; + + + None + + + + + &before; + + + XML::Parser + + + + + &external; + + + None + + + Expect @@ -937,6 +973,41 @@ + + Gperf + + + &dependencies; + + + Bash, Binutils, Coreutils, GCC, Glibc, Make + + + + + &testsuites; + + + Diffutils, Expect + + + + + &before; + + + None + + + + + &external; + + + None + + + Grep @@ -1152,6 +1223,41 @@ + + Intltool + + + &dependencies; + + + Bash, Gawk, Glibc, Make, Perl, Sed, and XML::Parser + + + + + &testsuites; + + + Perl + + + + + &before; + + + None + + + + + &external; + + + None + + + IProute2 @@ -1296,6 +1402,41 @@ + + Libcap + + + &dependencies; + + + Attr, Bash, Binutils, Coreutils, GCC, Glibc, Perl, Make, and Sed + + + + + &testsuites; + + + No test suite available + + + + + &before; + + + Systemd + + + + + &external; + + + Linux-PAM + + + Libpipeline @@ -1977,6 +2118,42 @@ + + Systemd + + + &dependencies; + + + Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Expat, Gawk, GCC, + Glibc, Gperf, Grep, Intltool, Libcap, Make, Sed, and Util-linux + + + + + &testsuites; + + + None + + + + + &before; + + + None + + + + + &external; + + + None + + + Tar @@ -2157,14 +2334,14 @@ - - Xml::Parser + + XML::Parser &dependencies; - Expat, Make, and Perl. + Bash, Binutils, Coreutils, Expat, GCC, Glibc, Make, and Perl @@ -2172,7 +2349,7 @@ &testsuites; - None + Perl @@ -2180,7 +2357,7 @@ &before; - Intltool + None @@ -2188,7 +2365,7 @@ &external; - libwww-perl + None diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 64724017b..c910be0d2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,89 @@ --> + + 2014-04-12 + + + [krejzi] - Merge LFS SVN-20140408 book. + + + + + + 2014-04-08 + + + [bdubbs] - Change lex rwapper script to a symbolic + link. Completes + #3523. + + + [bdubbs] - Update to linux-3.14. Fixes + #3523. + + + [bdubbs] - Update to file-5.18. Fixes + #3526. + + + [bdubbs] - Update to flex-2.5.39. Addresses + #3527. + + + [bdubbs] - Update to gmp-6.0.0a. Fixes + #3528. + + + [bdubbs] - Update to man-pages-3.64. Fixes + #3539. + + + [bdubbs] - Update to systemd-212. Fixes + #3540. + + + + + + 2014-04-07 + + + [bdubbs] - Update the example SEARCH_DIR output for i686 + in the GCC text. Fixes + #3524. + + + [bdubbs] - Update to tzdata2014b. Fixes + #3525. + + + [bdubbs] - Update to kmod-17. Fixes + #3538. + + + + + + 2014-03-31 + + + [ken] - Remove remaining references to headers-check when + installing the linux API headers. + + + + + + 2014-03-23 + + + [bdubbs] - Update to man-pages-3.63. Fixes + #3522. + + + + 2014-03-14 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index ca0d401c9..b6fc1645b 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -73,15 +73,15 @@ - + - + @@ -97,9 +97,9 @@ - + @@ -130,9 +130,9 @@ - + @@ -142,9 +142,9 @@ - + diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e4a8a3554..fc3d1f2fe 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -487,6 +487,22 @@ + + Patch (&patch-version;) - &patch-size;: diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 9a43f0410..581a3763c 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -65,15 +65,7 @@ MD5 sum: &perl-libc-patch-md5; - + Systemd Compat Patch - &systemd-compat-patch-size;: diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index af09946d7..8ba097d10 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -55,11 +55,11 @@ directory and then change to the directory created. Only then should you proceed with the instructions below. -tar -Jxf ../mpfr-&mpfr-version;.tar.xz +tar -xf ../mpfr-&mpfr-version;.tar.xz mv -v mpfr-&mpfr-version; mpfr -tar -Jxf ../gmp-&gmp-version;.tar.xz -mv -v gmp-&gmp-version; gmp -tar -zxf ../mpc-&mpc-version;.tar.gz +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 The following command will change the location of GCC's default diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 6fb0792c4..ec9354e18 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -90,11 +90,11 @@ done packages. Unpack the tarballs and move them into the required directory names: -tar -Jxf ../mpfr-&mpfr-version;.tar.xz +tar -xf ../mpfr-&mpfr-version;.tar.xz mv -v mpfr-&mpfr-version; mpfr -tar -Jxf ../gmp-&gmp-version;.tar.xz -mv -v gmp-&gmp-version; gmp -tar -zxf ../mpc-&mpc-version;.tar.gz +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: diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index b7df04edf..3a1dd793c 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -173,6 +173,7 @@ esac make + Install the package: make install diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml index b1a0652aa..395bf1cc1 100644 --- a/chapter05/linux-headers.xml +++ b/chapter05/linux-headers.xml @@ -53,13 +53,12 @@ make mrproper - Now test and extract the user-visible kernel headers from the source. + Now extract the user-visible kernel headers from the source. They are placed in an intermediate local directory and copied to the needed location because the extraction process removes any existing files in the target directory. -make headers_check -make INSTALL_HDR_PATH=dest headers_install +make INSTALL_HDR_PATH=dest headers_install cp -rv dest/include/* /tools/include diff --git a/chapter06/acl.xml b/chapter06/acl.xml index ffe71b2e5..4da5e353b 100644 --- a/chapter06/acl.xml +++ b/chapter06/acl.xml @@ -60,10 +60,10 @@ make The Acl tests need to be run on a filesystem that supports access - controls. Coreutils needs to be compiled with ACL support in order for - the testsuite to complete successfully. To test the results, issue: - -make tests + controls after Coreutils has been built with the + Acl libraries. If desired, return to this package and run make + tests after Coreutils has been built + later in this chapter. Install the package: diff --git a/chapter06/attr.xml b/chapter06/attr.xml index 6d1fdad45..69ac3ee81 100644 --- a/chapter06/attr.xml +++ b/chapter06/attr.xml @@ -59,8 +59,9 @@ make - The Attr tests need to be run on a filesystem that supports extended - attributes. To test the results, issue: + The tests need to be run on a filesystem that supports extended + attributes such as the ext2, ext3, or ext4 filesystems. To test the + results, issue: make tests root-tests diff --git a/chapter06/dbus.xml b/chapter06/dbus.xml index ae06c4453..476baf41d 100644 --- a/chapter06/dbus.xml +++ b/chapter06/dbus.xml @@ -48,11 +48,11 @@ Prepare D-Bus for compilation: -./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --docdir=/usr/share/doc/dbus-&dbus-version; \ - --with-console-auth-dir=/run/console/ +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/share/doc/dbus-&dbus-version; \ + --with-console-auth-dir=/run/console The meaning of the configure options: diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 9ca778a04..7aca00f9e 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -61,6 +61,7 @@ cd build CFLAGS=-I/tools/include \ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ ../configure --prefix=/usr \ + --bindir=/bin \ --with-root-prefix="" \ --enable-elf-shlibs \ --disable-libblkid \ @@ -80,7 +81,8 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \ - --with-root-prefix="" + --with-root-prefix="" and + --bindir=/bin Certain programs (such as the e2fsck program) are considered essential programs. When, for example, diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 28d50e9a9..8ad7040a9 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -70,19 +70,11 @@ --> A few programs do not know about flex yet and try to run its predecessor, lex. To support those - programs, create a wrapper script named lex that - calls flex in lex emulation + programs, create a symbolic link named lex that + runs flex in lex emulation mode: -cat > /usr/bin/lex << "EOF" -#!/bin/sh -# Begin /usr/bin/lex - -exec /usr/bin/flex -l "$@" - -# End /usr/bin/lex -EOF -chmod -v 755 /usr/bin/lex +ln -s flex /usr/bin/lex @@ -95,7 +87,7 @@ chmod -v 755 /usr/bin/lex Installed directories - flex, flex++ (link to flex), and lex + flex, flex++ (link to flex), and lex (link to flex) libfl.{a,so} and libfl_pic.{a,so} /usr/share/doc/flex-&flex-version; diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 1484f4ff5..063e0146a 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -234,12 +234,16 @@ cd ../gcc-build href="adjusting.xml" xpointer="xpointer(//*[@os='k'])"/> -SEARCH_DIR("/usr/i686-pc-linux-gnu/lib") +SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32") +SEARCH_DIR("/usr/local/lib32") +SEARCH_DIR("/lib32") +SEARCH_DIR("/usr/lib32") +SEARCH_DIR("/usr/i686-pc-linux-gnu/lib") SEARCH_DIR("/usr/local/lib") SEARCH_DIR("/lib") SEARCH_DIR("/usr/lib"); - A 64-bit system may see a few more directories. For example, here + A 64-bit system may see a few different directories. For example, here is the output from an x86_64 machine: SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib64") diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml index 7bbbbfa82..ca725c203 100644 --- a/chapter06/kmod.xml +++ b/chapter06/kmod.xml @@ -47,7 +47,6 @@ --bindir=/bin \ --sysconfdir=/etc \ --with-rootlibdir=/lib \ - --disable-manpages \ --with-xz \ --with-zlib @@ -61,15 +60,6 @@ - - --disable-manpages - - This option prevents the man pages from being built, as they - rely on libxslt, which isn't available in the chroot - environment. - - - --with-rootlibdir=/lib @@ -93,7 +83,6 @@ Linux kernel modules): make install -make -C man install for target in depmod insmod modinfo modprobe rmmod; do ln -sv ../bin/kmod /sbin/$target diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml index 996fe9fdf..17b2694db 100644 --- a/chapter06/linux-headers.xml +++ b/chapter06/linux-headers.xml @@ -52,7 +52,7 @@ make mrproper - Now test and extract the user-visible kernel headers from the source. + Now extract the user-visible kernel headers from the source. They are placed in an intermediate local directory and copied to the needed location because the extraction process removes any existing files in the target directory. There are also some hidden files used by diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 1acc703cb..1229318fb 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -141,7 +141,7 @@ EOF make -k check Note that some tests might fail because the test are being run in a - chroot environment. For full test coverage, the test suite should be ran + chroot environment. For full test coverage, the test suite should be run from a system booted using Systemd. Install the package: diff --git a/chapter06/xml-parser.xml b/chapter06/xml-parser.xml index 2571e1a23..8a5e5b917 100644 --- a/chapter06/xml-parser.xml +++ b/chapter06/xml-parser.xml @@ -63,7 +63,7 @@ Contents of XML::Parser - Installed Perl module + Installed module Expat.so diff --git a/general.ent b/general.ent index 5abf729d2..249ebd963 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + @@ -34,6 +34,7 @@ + %packages-entities; diff --git a/packages.ent b/packages.ent index 8cefd16a0..2bfc399cb 100644 --- a/packages.ent +++ b/packages.ent @@ -7,22 +7,22 @@ Allowed deviation in disk usage : 2% --> - - - - - - - - - + + + + + + + + + @@ -164,10 +164,10 @@ - - + + - + @@ -184,10 +184,10 @@ - - + + - + - + + + + + - +