diff --git a/bootscripts/lfs/init.d/rc b/bootscripts/lfs/init.d/rc index 4cd3ef0c1..9538b3407 100644 --- a/bootscripts/lfs/init.d/rc +++ b/bootscripts/lfs/init.d/rc @@ -100,7 +100,10 @@ if [ "${previous}" != "N" ]; then done fi -[ "${previous}" = "N" ] && IN_BOOT=1 +if [ "${previous}" = "N" ]; then + IN_BOOT=1 + export IN_BOOT +fi #Start all functions in this runlevel for i in $( ls -v /etc/rc.d/rc${runlevel}.d/S* 2> /dev/null) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3f0764de9..eb51a263f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,31 @@ --> + + 2011-09-03 + + + [bdubbs] - Fix binutils extracted directory version in binutils + build instructions. This will be reverted at the next upstream release + when the tarball name is again synced with the extracted directory + name. + + + [bdubbs] - Fix bootscripts to properly export IN_BOOT variable. + + + + + + 2011-09-01 + + + [bdubbs] - Adjust minimum kernel for the host sysem to 2.6.25 + due to a udev requirement. + + + + 2011-08-31 diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index ca8e5b8f7..bd35c67ff 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -72,7 +72,8 @@ cd ../binutils-build Now prepare Binutils for compilation: -../binutils-&binutils-version;/configure \ + +../binutils-&binutils-dir;/configure \ --target=$LFS_TGT --prefix=/tools \ --disable-nls --disable-werror diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index f3fe914bb..3e6822339 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -52,7 +52,8 @@ cd ../binutils-build CC="$LFS_TGT-gcc -B/tools/lib/" \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ - ../binutils-&binutils-version;/configure --prefix=/tools \ + + ../binutils-&binutils-dir;/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 9e65d0858..8fcd0a8b4 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -77,7 +77,7 @@ esac ../glibc-&glibc-version;/configure --prefix=/tools \ --host=$LFS_TGT --build=$(../glibc-&glibc-version;/scripts/config.guess) \ --disable-profile --enable-add-ons \ - --enable-kernel=2.6.22.5 --with-headers=/tools/include \ + --enable-kernel=2.6.25 --with-headers=/tools/include \ libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes @@ -109,10 +109,10 @@ esac - --enable-kernel=2.6.22.5 + --enable-kernel=2.6.25 This tells Glibc to compile the library with support - for 2.6.22.5 and later Linux kernels. Workarounds for older + for 2.6.25 and later Linux kernels. Workarounds for older kernels are not enabled. diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 4c700ce60..2ad2a7521 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -77,7 +77,8 @@ cd ../binutils-build Prepare Binutils for compilation: -../binutils-&binutils-version;/configure --prefix=/usr \ + +../binutils-&binutils-dir;/configure --prefix=/usr \ --enable-shared Compile the package: diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index e920c2ac6..e03617d5a 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -131,7 +131,7 @@ esac ../glibc-&glibc-version;/configure --prefix=/usr \ --disable-profile --enable-add-ons \ - --enable-kernel=2.6.22.5 --libexecdir=/usr/lib/glibc + --enable-kernel=2.6.25 --libexecdir=/usr/lib/glibc The meaning of the new configure options: diff --git a/general.ent b/general.ent index fea26fd30..c9b2f92aa 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index d2d82fdfb..7625671c4 100644 --- a/packages.ent +++ b/packages.ent @@ -35,6 +35,7 @@ + @@ -297,7 +298,7 @@ - + diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index e08ecb8c5..1566f24d4 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -81,17 +81,18 @@ - Linux Kernel-2.6.22.5 + Linux Kernel-2.6.25 (having been compiled with GCC-4.1.2 or greater) The reason for the kernel version requirement is that we specify that version when building glibc in Chapter 6 - at the recommendation of the developers. + at the recommendation of the developers. It is also required by + udev. - If the host kernel is either earlier than 2.6.22.5, or it was not + If the host kernel is either earlier than 2.6.25, or it was not compiled using a GCC-4.1.2 (or later) compiler, you will need to replace the kernel with one adhering to the specifications. There are two ways - you can go about this. First, see if your Linux vendor provides a 2.6.22.5 + you can go about this. First, see if your Linux vendor provides a 2.6.25 or later kernel package. If so, you may wish to install it. If your vendor doesn't offer an acceptable kernel package, or you would prefer not to install it, you can compile a kernel yourself. Instructions for