diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-28 11:26:41 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2004-02-28 11:26:41 +0000 |
commit | db9d773c6e39372c09613573d66473172d4f353f (patch) | |
tree | 91b594ceb3f92f088471701b492277c2a914344b /chapter06/chapter06.xml | |
parent | 687ef736a582e6672791398a62af027c5bac82ec (diff) |
Forgetfulness makes the most traffic...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3271 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/chapter06.xml')
-rw-r--r-- | chapter06/chapter06.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 0df77c71e..6bb1b5bf4 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -573,10 +573,13 @@ the current situation.</para> <para>If you are going to perform the stripping, special care is needed to ensure you're not running any of the binaries that are about to be stripped. If you're not sure whether you entered chroot with the command given in -<xref linkend="ch-system-chroot"/>, then now exit from chroot and reenter it -with the following commands:</para> +<xref linkend="ch-system-chroot"/>, then first exit from chroot:</para> -<screen><userinput>logout; chroot $LFS /tools/bin/env -i \ +<screen><userinput>logout</userinput></screen> + +<para>Then reenter it with:</para> + +<screen><userinput>chroot $LFS /tools/bin/env -i \ HOME=/root TERM=$TERM PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /tools/bin/bash --login</userinput></screen> @@ -616,7 +619,7 @@ class="directory">/tools</filename> 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 <filename class="directory">/tools</filename>, you may want to tar it -up and store it in a safe place, in case you want build another LFS system +up and store it in a safe place, in case you want to build another LFS system soon.</para> <note><para>Removing <filename class="directory">/tools</filename> will also |