glibc: Reword in the upgradation instruction suggested by renodr

This commit is contained in:
Xi Ruoyao 2024-02-02 03:42:42 +08:00
parent 024bcced80
commit 1f99d827f9
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -205,7 +205,7 @@ esac</userinput></screen>
<para> <para>
If upgrading Glibc to a new minor version (for example, from If upgrading Glibc to a new minor version (for example, from
Glibc-2.36 to Glibc-&glibc-version;) on a running LFS system, you Glibc-2.36 to Glibc-&glibc-version;) on a running LFS system, you
need to take some extra caution to avoid breaking the system: need to take some extra precautions to avoid breaking the system:
</para> </para>
<itemizedlist> <itemizedlist>
@ -254,8 +254,9 @@ esac</userinput></screen>
<screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen> <screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen>
<para> <para>
If such a LFS system is based on Systemd, disable and stop If this system (prior to LFS 12.1, exclusive) is based on
the <command>nscd</command> service now: Systemd, it's also needed to disable and stop the
<command>nscd</command> service now:
</para> </para>
<screen revision='systemd' role='nodump'><userinput>systemctl disable --now nscd</userinput></screen> <screen revision='systemd' role='nodump'><userinput>systemctl disable --now nscd</userinput></screen>
@ -265,7 +266,7 @@ esac</userinput></screen>
<para> <para>
Upgrade the kernel and reboot if it's older than &min-kernel; Upgrade the kernel and reboot if it's older than &min-kernel;
(check the current version with <command>uname -r</command>) (check the current version with <command>uname -r</command>)
or you want to upgrade it anyway, following or if you want to upgrade it anyway, following
following <xref linkend='ch-bootable-kernel' role='.'/> following <xref linkend='ch-bootable-kernel' role='.'/>
</para> </para>
</listitem> </listitem>
@ -275,7 +276,7 @@ esac</userinput></screen>
Upgrade the kernel API headers if it's older than &min-kernel; Upgrade the kernel API headers if it's older than &min-kernel;
(check the current version with (check the current version with
<command>cat /usr/include/linux/version.h</command>) <command>cat /usr/include/linux/version.h</command>)
or you want to upgrade it anyway, following or if you want to upgrade it anyway, following
<xref linkend='ch-tools-linux-headers'/> (but removing <xref linkend='ch-tools-linux-headers'/> (but removing
<envar>$LFS</envar> from the <command>cp</command> command). <envar>$LFS</envar> from the <command>cp</command> command).
</para> </para>
@ -303,8 +304,8 @@ install -vm755 dest/usr/lib/*.so.* /usr/lib</userinput></screen>
<para> <para>
It's imperative to strictly follow these steps above unless you It's imperative to strictly follow these steps above unless you
completely understand what you are doing. completely understand what you are doing.
<emphasis role='bold'>Any unproved deviation may render the system <emphasis role='bold'>Any unexpected deviation may render the
completely unusable. YOU ARE WARNED.</emphasis> system completely unusable. YOU ARE WARNED.</emphasis>
</para> </para>
<para> <para>