Ignore:
Timestamp:
05/07/2018 03:45:11 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e412703
Parents:
9de8016
Message:

Change stripping in Chapter 6 to not require logout.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11408 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/revisedchroot.xml

    r9de8016 r658dcab  
    1515<screen><userinput>rm -rf /tmp/*</userinput></screen>
    1616
    17   <para>From now on, when reentering the chroot environment after
    18   exiting, use the following modified chroot command:</para>
     17  <para>Now log out and reenter the chroot environment with an updated
     18  chroot command.  From now on, use this updated chroot command any time
     19  you need to reenter the chroot environment after exiting:</para>
    1920
    20 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i          \
     21<screen role="nodump"><userinput>logout
     22
     23chroot "$LFS" /usr/bin/env -i          \
    2124    HOME=/root TERM="$TERM"            \
    2225    PS1='(lfs chroot) \u:\w\$ '        \
     
    2528
    2629  <para>The reason for this is that the programs in <filename
    27   class="directory">/tools</filename> are no longer needed.  Since they are no
    28   longer needed you can delete the <filename class="directory">/tools</filename>
     30  class="directory">/tools</filename> are no longer needed.  For this reason
     31  you can delete the <filename class="directory">/tools</filename>
    2932  directory if so desired.</para>
    3033
     
    5356rm -f /usr/lib/libltdl.a
    5457rm -f /usr/lib/libfl.a
    55 rm -f /usr/lib/libfl_pic.a
    5658rm -f /usr/lib/libz.a</userinput></screen>
    5759
Note: See TracChangeset for help on using the changeset viewer.