From 0f18f2b1214520b965525a93a03c421c8c5b9177 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 5 Jun 2023 23:20:48 +0800 Subject: [PATCH] housekeeping after min-kernel bump Update the rationale for min-kernel in hostreqs. Add a note in general.ent about the EOL of current min-kernel. Realign the backslashes in glibc instructions. --- chapter02/hostreqs.xml | 7 +++++-- chapter05/glibc.xml | 2 +- chapter08/glibc.xml | 2 +- general.ent | 4 ++++ 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 192eed8c1..862d2605c 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -93,8 +93,11 @@ The reason for the kernel version requirement is that we specify that version when building glibc in and - , - at the recommendation of the developers. + , so the workarounds for + older kernels are not enabled and the compiled + glibc is slightly faster and smaller. + As at June 2023, &min-kernel; is the oldest kernel release still + supported by the kernel developers. 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 diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 66526ba4c..14f1fac6c 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -89,7 +89,7 @@ cd build --prefix=/usr \ --host=$LFS_TGT \ --build=$(../scripts/config.guess) \ - --enable-kernel=&min-kernel; \ + --enable-kernel=&min-kernel; \ --with-headers=$LFS/usr/include \ libc_cv_slibdir=/usr/lib diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index d094aed7f..5b9b56840 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -76,7 +76,7 @@ cd build ../configure --prefix=/usr \ --disable-werror \ - --enable-kernel=&min-kernel; \ + --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ --with-headers=/usr/include \ libc_cv_slibdir=/usr/lib diff --git a/general.ent b/general.ent index 912a360d6..a222812e9 100644 --- a/general.ent +++ b/general.ent @@ -91,7 +91,11 @@ + + +