From 76a3d6d07c276debd9d4eb66c697ae4c097fd2d8 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 25 Aug 2001 16:56:29 +0000 Subject: 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 --- chapter06/glibc-exp.xml | 7 +++++++ chapter06/glibc-inst.xml | 9 +-------- 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. mv -f config.make~ config.make: Again, we are moving the temporary file over the original. +exec /bin/bash: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). + 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. make && make install && make localedata/install-locales && -logout -&c6-chrootcmd; +exec /bin/bash During the configure stage you will see the following warning: @@ -45,11 +44,5 @@ would do. gettext package, but it can safely be ignored in our case. The glibc installation will not be affected. -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). - -- cgit v1.2.3-54-g00ecf