Selaa lähdekoodia

Force exit+re-enter chroot (rather than merely suggest it)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@436 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 vuotta sitten
vanhempi
commit
ba3c4d322f
1 muutettua tiedostoa jossa 11 lisäystä ja 7 poistoa
  1. 11 7
      chapter06/glibc-inst.xml

+ 11 - 7
chapter06/glibc-inst.xml

@@ -42,18 +42,22 @@ Install Glibc by running the following commands:
 </literallayout></blockquote>
 
 <para>
-You can get rid of the "I have no name!" in the bash prompt if you want
-to by exiting chroot and re-entering it. Run the following commands to do 
-that:
+We have to get username/groupname to userid/groupid conversion possible
+by exiting the chroot'ed environment and re-entering it. This will also
+get rid of the "I have no name!" message in the command prompt.
 </para>
 
-<blockquote><literallayout>
+<para>
+Run the following commands to accomplish that:
+</para>
 
-	<userinput>logout</userinput>
+<blockquote><literallayout>
+ 
+        <userinput>cd $LFS &amp;&amp;</userinput>
         <userinput>chroot $LFS /usr/bin/env -i HOME=/root
                 \</userinput>
-        <userinput>&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash --login</userinput>  
-
+        <userinput>&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash --login</userinput>
+ 
 </literallayout></blockquote>
 
 </sect2>