diff options
Diffstat (limited to 'chapter06/strippingagain.xml')
-rw-r--r-- | chapter06/strippingagain.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/strippingagain.xml b/chapter06/strippingagain.xml index 14f87829d..5492e679c 100644 --- a/chapter06/strippingagain.xml +++ b/chapter06/strippingagain.xml @@ -32,15 +32,15 @@ <para>Then reenter it with:</para> -<screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \ +<screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \ HOME=/root TERM=$TERM PS1='\u:\w\$ ' \ - PATH=/bin:/usr/bin:/sbin:/usr/sbin \ + PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /tools/bin/bash --login</userinput></screen> <para>Now the binaries and libraries can be safely stripped:</para> <screen><userinput>/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \ - -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen> + -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen> <para>A large number of files will be reported as having their file format not recognized. These warnings can be safely ignored. These |