mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
pkg management: add a note about kernel upgrade
This commit is contained in:
parent
577ac46eea
commit
7aee3182a0
@ -51,10 +51,21 @@
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>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
|
||||
<emphasis>may</emphasis> be able to rebuild all the packages in their
|
||||
dependency order, we do not recommend it. </para>
|
||||
<para>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.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>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 <emphasis>may</emphasis> be able to rebuild
|
||||
all the packages in their dependency order, we do not recommend
|
||||
it. </para>
|
||||
</listitem>
|
||||
|
||||
<listitem> <para>If a package containing a shared library is updated, and
|
||||
|
Loading…
Reference in New Issue
Block a user