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). -