Author: bdubbs
Date: Tue Jan 14 11:59:40 2014
New Revision: 10442
Log:
Minor formatting and add the actual instruction to
optionally remove /tools.
Modified:
trunk/BOOK/chapter06/revisedchroot.xml
Modified: trunk/BOOK/chapter06/revisedchroot.xml
==============================================================================
--- trunk/BOOK/chapter06/revisedchroot.xml Tue Jan 14 11:51:26 2014
(r10441)
+++ trunk/BOOK/chapter06/revisedchroot.xml Tue Jan 14 11:59:40 2014
(r10442)
@@ -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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page