Changeset 658dcab for chapter06/revisedchroot.xml
- Timestamp:
- 05/07/2018 03:45:11 PM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/revisedchroot.xml
r9de8016 r658dcab 15 15 <screen><userinput>rm -rf /tmp/*</userinput></screen> 16 16 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> 19 20 20 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \ 21 <screen role="nodump"><userinput>logout 22 23 chroot "$LFS" /usr/bin/env -i \ 21 24 HOME=/root TERM="$TERM" \ 22 25 PS1='(lfs chroot) \u:\w\$ ' \ … … 25 28 26 29 <para>The reason for this is that the programs in <filename 27 class="directory">/tools</filename> are no longer needed. Since they are no28 longer neededyou 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> 29 32 directory if so desired.</para> 30 33 … … 53 56 rm -f /usr/lib/libltdl.a 54 57 rm -f /usr/lib/libfl.a 55 rm -f /usr/lib/libfl_pic.a56 58 rm -f /usr/lib/libz.a</userinput></screen> 57 59
Note:
See TracChangeset
for help on using the changeset viewer.