From 26bb7e6a992fbb553bc02ad74d7cf23104939484 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 31 Jul 2001 20:08:50 +0000 Subject: 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 --- chapter06/bash-inst.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'chapter06') diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml index 653d49166..619267681 100644 --- a/chapter06/bash-inst.xml +++ b/chapter06/bash-inst.xml @@ -7,13 +7,14 @@ make && make install && logout -mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin - +mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin + && +&c6-chrootcmd; -The static bash is replaced with the dynamic bash and the chroot'ed -environment is re-entered by running: - -&c6-chrootcmd; +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. -- cgit v1.2.3-54-g00ecf