aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-08-25 16:56:29 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-08-25 16:56:29 +0000
commit76a3d6d07c276debd9d4eb66c697ae4c097fd2d8 (patch)
treee8630e994a90135b79a0f1600ead739d9c75a66a
parentf3c04e6f695b495171c9a8aa793a489330e5a48d (diff)
removed exit+enter chroot commands, replaced by an "exec /bin/bash",
moved it's explanation to glibc-exp.xml git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1030 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/glibc-exp.xml7
-rw-r--r--chapter06/glibc-inst.xml9
2 files changed, 8 insertions, 8 deletions
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index c6c30fcf1..5a3e71852 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -55,5 +55,12 @@ hasn't been installed yet.</para>
<para><userinput>mv -f config.make~ config.make:</userinput> Again, we are moving
the temporary file over the original.</para>
+<para><userinput>exec /bin/bash:</userinput>This command will
+start a new bash shell which will replace the current shell. This is
+done to get rid of the "I have no name!" message in the command
+prompt, which was caused by bash's inability to resolve a userid to
+a username (which in turn was caused by the missing Glibc
+installation).</para>
+
</sect2>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 698e181ab..0af72b2a1 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -31,8 +31,7 @@ would do.</para>
<userinput>make &amp;&amp;</userinput>
<userinput>make install &amp;&amp;</userinput>
<userinput>make localedata/install-locales &amp;&amp;</userinput>
-<userinput>logout</userinput>
-&c6-chrootcmd;</screen></para>
+<userinput>exec /bin/bash</userinput></screen></para>
<para>During the configure stage you will see the following warning:</para>
@@ -45,11 +44,5 @@ would do.</para>
gettext package, but it can safely be ignored in our case. The glibc
installation will not be affected.</para>
-<para>The last two commands make you exit and re-enter the chroot'ed
-environment. This is done to get rid of the "I have
-no name!" message in the command prompt, which was caused by bash's
-inability to resolve a userid to a username (which in turn was caused by
-the missing Glibc installation).</para>
-
</sect2>