From a93258dc7f7ea32754c05c126ae2ca67a85fc2bf Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 22 Aug 2013 14:45:43 +0000 Subject: [PATCH] Update minimum kernel requirement for the host Minor edit in rc.sit requiring bootscript update. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10327 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/ChangeLog | 3 +++ bootscripts/lfs/sysconfig/rc.site | 3 --- chapter01/changelog.xml | 10 ++++++++++ chapter05/glibc.xml | 2 +- chapter06/glibc.xml | 2 +- general.ent | 5 +++-- packages.ent | 2 +- prologue/hostreqs.xml | 10 ++++------ 8 files changed, 23 insertions(+), 14 deletions(-) diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog index b28854c3c..a9e9806db 100644 --- a/bootscripts/ChangeLog +++ b/bootscripts/ChangeLog @@ -1,3 +1,6 @@ +2013-08-21 Bruce Dubbs + * Delete duplicate entry in rc.site file. + 2013-08-05 Bruce Dubbs * Use STATIC_GATEWAY for ipv4-static-route purposes diff --git a/bootscripts/lfs/sysconfig/rc.site b/bootscripts/lfs/sysconfig/rc.site index 207bc90fe..b0a124d71 100644 --- a/bootscripts/lfs/sysconfig/rc.site +++ b/bootscripts/lfs/sysconfig/rc.site @@ -50,9 +50,6 @@ # Skip reading from the console #HEADLESS=yes -# Speed up boot without waiting for settle in udev_retry -#OMIT_UDEV_RETRY_SETTLE=yes - # Write out fsck progress if yes #VERBOSE_FSCK=no diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 0dd2f6ea8..299fa76ef 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,16 @@ --> + + 2013-08-22 + + + [bdubbs] - Update the minimum kernel requirement to + 2.6.34 in host system requirements. + + + + 2013-08-21 diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index e08ec88fb..7d0c1ce7b 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -80,7 +80,7 @@ esac --host=$LFS_TGT \ --build=$(../glibc-&glibc-version;/scripts/config.guess) \ --disable-profile \ - --enable-kernel=2.6.34 \ + --enable-kernel=&min-kernel; \ --with-headers=/tools/include \ libc_cv_forced_unwind=yes \ libc_cv_ctors_header=yes \ diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 6e24dfb7d..485f0d7d4 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -72,7 +72,7 @@ cd ../glibc-build ../glibc-&glibc-version;/configure \ --prefix=/usr \ --disable-profile \ - --enable-kernel=2.6.34 \ + --enable-kernel=&min-kernel; \ --libexecdir=/usr/lib/glibc diff --git a/general.ent b/general.ent index 6413996e1..147000cfc 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + @@ -14,6 +14,7 @@ + diff --git a/packages.ent b/packages.ent index 839b686ec..b89409fdc 100644 --- a/packages.ent +++ b/packages.ent @@ -310,7 +310,7 @@ - + diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index c56a91f06..45c892136 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -81,18 +81,16 @@ - Linux Kernel-2.6.25 - (having been compiled with GCC-4.1.2 or greater) + Linux Kernel-&min-kernel; 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. It is also required by udev. - 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.25 + If the host kernel is earlier than &min-kernel; you will need to replace + the kernel with a more up to date version. There are two ways + you can go about this. First, see if your Linux vendor provides a &min-kernel; 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