From 7aee3182a0bba41d352a50252872ccda2349b8b9 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 19 Jun 2021 16:32:43 +0800 Subject: pkg management: add a note about kernel upgrade --- chapter08/pkgmgt.xml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'chapter08') diff --git a/chapter08/pkgmgt.xml b/chapter08/pkgmgt.xml index 809421c3f..228a13378 100644 --- a/chapter08/pkgmgt.xml +++ b/chapter08/pkgmgt.xml @@ -51,10 +51,21 @@ - If Glibc needs to be upgraded to a newer version, (e.g. from - glibc-2.31 to glibc-2.32), it is safer to rebuild LFS. Though you - may be able to rebuild all the packages in their - dependency order, we do not recommend it. + If Linux kernel needs to be upgraded (for example, from + 5.10.17 to 5.10.18 or 5.11.1), nothing else need to be rebuilt. + The system will keep working fine thanks to the well-defined border + between kernel and userspace. Specifically, Linux API headers + need not to be (and should not be, see the next item) upgraded + alongside the kernel. You'll need to reboot your system to use the + upgraded kernel. + + + + If Linux API headers or Glibc needs to be upgraded to a newer + version, (e.g. from glibc-2.31 to glibc-2.32), it is safer to + rebuild LFS. Though you may be able to rebuild + all the packages in their dependency order, we do not recommend + it. If a package containing a shared library is updated, and -- cgit v1.2.3-54-g00ecf