diff options
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 |