aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/chroot.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r--chapter06/chroot.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index 195242c35..2259dc7a4 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -26,6 +26,11 @@ to the same value as outside chroot; this variable is needed for programs
like vim and less to operate properly. If you need other variables present,
such as CFLAGS or CXXFLAGS, this is a good place to set them again.</para>
+<para>Also note the use of the set +h directive. This tells bash to not use
+it's internal path hashing. Without this directive, bash will remember paths
+to binaries. Since as we go thru chapter 6, we want to use our newly compiled
+binaries as soon as they are installed, we turn off this function.</para>
+
<para>From this point on there's no need to use the LFS variable anymore,
because everything you do will be restricted to the LFS file system -- since
what the shell thinks is <filename class="directory">/</filename> is actually