From b7b68c39890595ec17e226eed905bdae5787b2df Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 14 Jan 2014 19:59:40 +0000 Subject: Minor formatting and add the actual instruction to optionally remove /tools. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10442 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/revisedchroot.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chapter06/revisedchroot.xml') 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 @@ From now on, when reentering the chroot environment after exiting, use the following modified chroot command: -chroot "$LFS" /usr/bin/env -i \ +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 The reason for this is that the programs in ). +rm -rf /tools + 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