From f89de330228e5159bb2cda0c03b81f2b5b7e83aa Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Mon, 23 Feb 2004 22:09:27 +0000 Subject: Cleaning up the revision of chroot and reboot sections. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3259 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/chapter06.xml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'chapter06/chapter06.xml') diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 287b94540..f3173733b 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -590,21 +590,39 @@ destroyed. -Revised chroot command +Cleaning up -From now on when you exit the chroot environment and wish to reenter -it, you should run the following modified chroot command: +From now on, when you exit the chroot environment and wish to reenter +it, you should use the following modified chroot command: chroot $LFS /usr/bin/env -i \     HOME=/root TERM=$TERM PS1='\u:\w\$ ' \     PATH=/bin:/usr/bin:/sbin:/usr/sbin \     /bin/bash --login -The reason being there is no longer any need to use programs from the -/tools directory. However, we don't -want to remove the /tools directory -just yet. There is still some use for it towards the end of the book. +The reason for this is that, since the programs in /tools are no longer needed, you may want to +delete the whole directory and regain the space. Before actually deleting the +directory, exit from chroot and reenter it with the above command. Also, before +removing /tools, you may want to tar it +up and store it in a safe place, in case you want build another LFS system +soon. + +Removing /tools will also +remove the temporary copies of Tcl, Expect and DejaGnu, which were used for +running the toolchain tests. If you want to use these programs later on, you +will need to recompile and re-install them. The installation instructions are +the same as in , apart from changing +the prefix from /tools to /usr. The +BLFS book discusses a slightly different approach to installing Tcl, see . + +You may also want to move the packages and patches stored in /sources to a more usual location, such as +/usr/src/packages, and remove the +directory -- or simply delete the whole directory if you've burned its contents +on a CD). -- cgit v1.2.3-54-g00ecf