Changeset 3349a3a in clfs-sysroot for BOOK/final-system/common/stripping.xml


Ignore:
Timestamp:
May 27, 2006, 9:02:20 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
d9bec84
Parents:
f6c417f
Message:

r3669@server (orig r1667): jciccone | 2006-05-27 18:13:38 -0700
Various text and command fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/stripping.xml

    rf6c417f r3349a3a  
    2323  backup of the current situation.</para>
    2424
    25   <para os="c">Before performing the stripping, take special care to ensure that
    26   none of the binaries that are about to be stripped are running. If
    27   unsure whether the user entered chroot with the command given in
    28   <!-- <xref linkend="chapter-chroot" role=","/> --> first exit from
    29   chroot:</para>
    30 
    31 <screen os="d" role="nodump"><userinput>logout</userinput></screen>
    32 
    33     <para os="e">Then reenter it with:</para>
    34 
    35 <screen os="f" role="nodump"><userinput>chroot $LFS /tools/bin/env -i \
    36     HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
    37     PATH=/bin:/usr/bin:/sbin:/usr/sbin \
    38     /tools/bin/bash --login</userinput></screen>
    39 
    40     <para os="g">Now the binaries and libraries can be safely stripped:</para>
    41 
    42 <screen os="h"><userinput>/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \
    43    -exec /tools/bin/strip --strip-debug '{}' ';'</userinput></screen>
     25<screen os="c"><userinput>find ${LFS}/{,usr/}{bin,lib,sbin} -type f \
     26   -exec ${LFS_TARGET}-strip --strip-debug '{}' ';'</userinput></screen>
    4427
    4528    <para os="i">A large number of files will be reported as having their file
Note: See TracChangeset for help on using the changeset viewer.