diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5aaf9b283..6c9db3a91 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,25 +36,15 @@ --> - + - July 21, 2006 - - - [dnicholson] - Fixed dead link to Linux Driver Model paper - on the Device and Module Handling page. Replaced with sysfs paper - by the same author. Thanks to Chris Staub and Bryan Kadzban. - - - [dnicholson] - Added a reminder to check that the virtual - kernel file systems are mounted after the description of the - revised chroot command. - - + None yet + LFS 6.2 Branch created July 15, 2006. diff --git a/chapter01/how.xml b/chapter01/how.xml index 16d565c4e..e77aab35b 100644 --- a/chapter01/how.xml +++ b/chapter01/how.xml @@ -11,7 +11,7 @@ How to Build an LFS System The LFS system will be built by using a previously installed - Linux distribution (such as Debian, Mandrake, Red Hat, or SuSE). This + Linux distribution (such as Debian, Mandriva, Red Hat, or SuSE). This existing Linux system (the host) will be used as a starting point to provide necessary programs, including a compiler, linker, and shell, to build the new system. Select the development option diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 5c8d8fba1..201760d08 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -22,7 +22,7 @@ Upgraded to: - + None yet diff --git a/chapter03/packages.xml b/chapter03/packages.xml index e5cc7bf2d..36ed2336d 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -317,6 +317,14 @@ Home page: Download: MD5 sum: &linux-md5; + + + The Linux kernel is updated relatively often, many times due to + discoveries of security vulnerabilities. The latest available + 2.6.16.x kernel version should be used, unless the errata page says + otherwise. Do not use version 2.6.17 or later kernels due to + potential incompatibilites of the bootscripts. + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 040bb8962..bdd6dc8a7 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -122,6 +122,14 @@ + + GRUB Disk Geometry Patch - &grub-geometry-patch-size;: + + Download: + MD5 sum: &grub-geometry-patch-md5; + + + Gzip Security Patch - &gzip-security_fix-patch-size;: diff --git a/chapter05/bash.xml b/chapter05/bash.xml index b4c29a99c..87093c89b 100644 --- a/chapter05/bash.xml +++ b/chapter05/bash.xml @@ -37,6 +37,11 @@ Installation of Bash + Upstream developers have fixed several issues since the initial + release of Bash-&bash-version;. Apply those fixes: + +patch -Np1 -i ../&bash-fixes-patch; + Prepare Bash for compilation: ./configure --prefix=/tools --without-bash-malloc diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 451cd5424..7fc0bb49b 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -85,7 +85,7 @@ sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ > gcc/Makefile.in Apply the following patch to change the location of GCC's default - dynamiclinker (typically ld-linux.so.2): patch -Np1 -i ../&gcc-specs-patch; diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index d2a89174d..1fe6d792a 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -71,11 +71,11 @@ find. As /usr may not be available during the early stages of booting, this program needs to be on the root partition. The updatedb - script also needs to correct an explicit path. + script also needs to be modified to correct an explicit path: mv -v /usr/bin/find /bin sed -i -e 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb - + diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index eb39a12e9..eb6d8d080 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -135,8 +135,8 @@ grep Error glibc-check-log - The nptl/tst-clock2 and - tst-attr3 tests sometimes + The nptl/tst-clock2 and + tst-attr3 tests sometimes fail. The reason is not completely understood, but indications are that a heavy system load can trigger these failures. @@ -254,20 +254,27 @@ rpc: files # End /etc/nsswitch.conf EOF - To determine the local time zone, run the following script: + One way to determine the local time zone, run the following + script: tzselect After answering a few questions about the location, the script will - output the name of the time zone (e.g., EST5EDT or - Canada/Eastern). Then create the - /etc/localtime file by running: + output the name of the time zone (e.g., + America/Edmonton). There are also some other possible + timezones listed in /usr/share/zoneinfo such as + Canada/Eastern or EST5EDT that + are not identified by the script but can be used. + + Then create the /etc/localtime file by + running: cp -v --remove-destination /usr/share/zoneinfo/<xxx> \ /etc/localtime - Replace <xxx> with the name of the time zone - that tzselect provided (e.g., Canada/Eastern). + Replace <xxx> with the name of the + time zone selected (e.g., Canada/Eastern). The meaning of the cp option: diff --git a/chapter06/grub.xml b/chapter06/grub.xml index 8651c95c8..8570a6ac2 100644 --- a/chapter06/grub.xml +++ b/chapter06/grub.xml @@ -41,6 +41,12 @@ as CFLAGS and CXXFLAGS, unset them when building GRUB. + Start by applying the following patch to allow for better drive + detection, fix some GCC 4.x issues, and provide + better SATA support for some disk controllers: + +patch -Np1 -i ../&grub-geometry-patch; + Prepare GRUB for compilation: ./configure --prefix=/usr diff --git a/chapter06/man-pages.xml b/chapter06/man-pages.xml index 6c289385c..746693b4f 100644 --- a/chapter06/man-pages.xml +++ b/chapter06/man-pages.xml @@ -59,7 +59,7 @@ man pages - Describe the C and C++ functions, important + Describe C programming language functions, important device files, and significant configuration files man pages diff --git a/chapter06/readline.xml b/chapter06/readline.xml index 9dc0f48e2..39ea3a3b6 100644 --- a/chapter06/readline.xml +++ b/chapter06/readline.xml @@ -86,7 +86,7 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install Next, remove the .so files in /lib and relink them into /usr/lib. + class="directory">/usr/lib: rm -v /lib/lib{readline,history}.so ln -sfv ../../lib/libreadline.so.5 /usr/lib/libreadline.so diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 83b8cf53c..861c6ed6d 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -62,7 +62,7 @@ Disable the installation of the groups program - and its man page, as Coreutils provides a better version: + and its man pages, as Coreutils provides a better version: sed -i 's/groups$(EXEEXT) //' src/Makefile find man -name Makefile -exec sed -i '/groups/d' {} \; diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml index 095fd087c..87ec2e842 100644 --- a/chapter06/sysklogd.xml +++ b/chapter06/sysklogd.xml @@ -36,13 +36,13 @@ Installation of Sysklogd The following patch fixes various issues, including a problem building - Sysklogd with Linux 2.6 series kernels + Sysklogd with Linux 2.6 series kernels: patch -Np1 -i ../&sysklogd-fixes-patch; The following patch makes sysklogd treat bytes in the 0x80--0x9f range literally in the messages being logged, instead of replacing them with octal - codes. Unpatched sysklogd would damage messages in the UTF-8 encoding. + codes. Unpatched sysklogd would damage messages in the UTF-8 encoding: patch -Np1 -i ../&sysklogd-8bit-patch; diff --git a/chapter06/udev.xml b/chapter06/udev.xml index cdd6302eb..516133d31 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -36,7 +36,7 @@ Installation of Udev The udev-config tarball contains LFS-specific files used to configure - Udev. + Udev. Unpack it into the Udev source directory: tar xf ../&udev-config;.tar.bz2 diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 8545dd4dc..afb2df34b 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -76,15 +76,6 @@ configuration menus and create the kernel configuration from scratch. - - NPTL requires the kernel to be compiled with GCC-3.x or later, in - this case &gcc-version;. It is not recommended to compile the kernel with - GCC-2.95.x, as this causes failures in the Glibc test suite. Normally, - this wouldn't be mentioned as LFS doesn't build GCC-2.95.x. Unfortunately, - the kernel documentation is outdated and still claims GCC-2.95.3 is the - recommended compiler. - - Compile the kernel image and modules: make diff --git a/general.ent b/general.ent index 5221e2cc3..d80be37c1 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + diff --git a/packages.ent b/packages.ent index 9aeee048f..731e1bc9a 100644 --- a/packages.ent +++ b/packages.ent @@ -57,7 +57,7 @@ @@ -281,7 +281,7 @@ - + @@ -295,10 +295,10 @@ - - + + - + @@ -493,7 +493,7 @@ - + diff --git a/patches.ent b/patches.ent index 7aaaa6c9b..b1755584e 100644 --- a/patches.ent +++ b/patches.ent @@ -62,6 +62,10 @@ + + + + @@ -148,9 +152,9 @@ - - - + + +