From 490dc15317e18e4f87d2a2555adc6ce2c2a774ba Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 5 Feb 2022 11:36:39 +0800 Subject: 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. --- chapter01/changelog.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter01/changelog.xml') diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 155b12f50..217aad0d1 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,11 @@ 2022-02-04 + + [xry111] - Rename bash + +h directives in chroot. Fixes + #4998. + [xry111] - Update to man-db-2.10.0. Fixes #5002. -- cgit v1.2.3-54-g00ecf