aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/revisedchroot.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml
index f233d82cc..6c4579a1e 100644
--- a/chapter06/revisedchroot.xml
+++ b/chapter06/revisedchroot.xml
@@ -17,9 +17,9 @@
<para>From now on, when reentering the chroot environment after
exiting, use the following modified chroot command:</para>
-<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
+<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
- PATH=/bin:/usr/bin:/sbin:/usr/sbin \
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login</userinput></screen>
<para>The reason for this is that the programs in <filename
@@ -35,6 +35,8 @@
instructions for this (see <ulink url="&blfs-root;"/>).</para>
</note>
+<screen role="nodump"><userinput>rm -rf /tools</userinput></screen>
+
<para>If the virtual kernel file systems have been unmounted, either manually
or through a reboot, ensure that the virtual kernel file systems are mounted
when reentering the chroot. This process was explained in <xref