aboutsummaryrefslogtreecommitdiffstats
path: root/chapter01/changelog.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-05 11:36:39 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-05 20:48:27 +0800
commit490dc15317e18e4f87d2a2555adc6ce2c2a774ba (patch)
treecdd4f927f4ca62b6cbd3ddc26260015232ba0aaf /chapter01/changelog.xml
parent69c4524b6df4f5ac7b87e868afe55569b61752a8 (diff)
remove "+h" in bash commands in chroot (#4998)
In the new cross-compilation approach, the $PATH in chroot does not contain '/tools/bin'. So "+h" is useless in chroot as the newly installed tools always replace the temporary counterpart at the same location. "+h" in chapter4/settingenviron.xml is kept deliberately. Currently $LFS/tools/bin only contains programs prefixed with "x86_64-lfs-linux-gnu-", and it's highly unlikely that any distro will ever ship a program named with such prefix. So it may seems that we can remove this "+h" as well. However, the situation may change in future and we can take this oppertunity to teach the advantage and disvantage of bash hash feature.
Diffstat (limited to 'chapter01/changelog.xml')
-rw-r--r--chapter01/changelog.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 155b12f50..217aad0d1 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,11 @@
<para>2022-02-04</para>
<itemizedlist>
<listitem>
+ <para>[xry111] - Rename <command>bash</command>
+ <literal>+h</literal> directives in chroot. Fixes
+ <ulink url="&lfs-ticket-root;4998">#4998</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[xry111] - Update to man-db-2.10.0. Fixes
<ulink url="&lfs-ticket-root;5002">#5002</ulink>.</para>
</listitem>