diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 1fb05af24..afd51bc41 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -72,27 +72,6 @@ Gzip-1.3.12 - - Linux Kernel-&min-kernel; - - The reason for the kernel version requirement is that we specify - that version when building glibc in - and - , - at the recommendation of the developers. It is also required by - udev. - - 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 - compiling the kernel and configuring the boot loader (assuming the host - uses GRUB) are located in . - - - M4-1.4.10 diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 166be911c..f39141c63 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -91,7 +91,7 @@ cd build --prefix=/usr \ --host=$LFS_TGT \ --build=$(../scripts/config.guess) \ - --enable-kernel=&min-kernel; \ + --enable-kernel=&linux-major-version;.&linux-minor-version; \ --with-headers=$LFS/usr/include \ libc_cv_slibdir=/usr/lib @@ -108,11 +108,13 @@ cd build - --enable-kernel=&min-kernel; + --enable-kernel=&linux-major-version;.&linux-minor-version; - This tells Glibc to compile the library with support - for &min-kernel; and later Linux kernels. Workarounds for older - kernels are not enabled. + This option tells the build system that this glibc may + be used with kernels as old as + &linux-major-version;.&linux-minor-version;. This means generating + workarounds in case a system call introduced in a later version + cannot be used. diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 6615926ec..d9ee49731 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -72,7 +72,7 @@ cd build ../configure --prefix=/usr \ --disable-werror \ - --enable-kernel=&min-kernel; \ + --enable-kernel=&linux-major-version;.&linux-minor-version; \ --enable-stack-protector=strong \ --with-headers=/usr/include \ libc_cv_slibdir=/usr/lib @@ -89,10 +89,11 @@ cd build - --enable-kernel=&min-kernel; + --enable-kernel=&linux-major-version;.&linux-minor-version; This option tells the build system that this glibc may - be used with kernels as old as &min-kernel;. This means generating + be used with kernels as old as + &linux-major-version;.&linux-minor-version;. This means generating workarounds in case a system call introduced in a later version cannot be used.