Переглянути джерело

Moved the re-enter chroot command in the command block

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@870 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 роки тому
батько
коміт
26bb7e6a99
1 змінених файлів з 7 додано та 6 видалено
  1. 7 6
      chapter06/bash-inst.xml

+ 7 - 6
chapter06/bash-inst.xml

@@ -7,13 +7,14 @@
 <userinput>make &amp;&amp;</userinput>
 <userinput>make install &amp;&amp;</userinput>
 <userinput>logout</userinput>
-<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin</userinput>
-</screen></para>
+<userinput>mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin
+	&amp&amp;</userinput>
+&c6-chrootcmd;</screen></para>
 
-<para>The static bash is replaced with the dynamic bash and the chroot'ed
-environment is re-entered by running:</para>
-
-<para><screen>&c6-chrootcmd;</screen></para>
+<para>The static bash is replaced with the dynamic bash after we exit
+the chroot'ed environment, after which we re-enter it. We do this
+because it's better not to replace the static bash by a dynamic one when
+it's in use.</para>
 
 </sect2>