瀏覽代碼

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

Bruce Dubbs 11 年之前
父節點
當前提交
b7b68c3989
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      chapter06/revisedchroot.xml

+ 4 - 2
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