Changeset 490dc153 for chapter08/revisedchroot.xml
- Timestamp:
- 02/05/2022 12:48:27 PM (2 years ago)
- Branches:
- 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, arm, bdubbs/gcc13, 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:
- d79ba5b
- Parents:
- 69c4524
- git-author:
- Xi Ruoyao <xry111@…> (02/05/2022 03:36:39 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/05/2022 12:48:27 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/revisedchroot.xml
r69c4524 r490dc153 14 14 15 15 <screen><userinput>rm -rf /tmp/*</userinput></screen> 16 17 <para>Now log out and reenter the chroot environment with an updated18 chroot command. From now on, use this updated chroot command any time19 you need to reenter the chroot environment after exiting:</para>20 21 <screen role="nodump"><userinput>logout22 23 chroot "$LFS" /usr/bin/env -i \24 HOME=/root TERM="$TERM" \25 PS1='(lfs chroot) \u:\w\$ ' \26 PATH=/usr/bin:/usr/sbin \27 /usr/bin/bash --login</userinput></screen>28 29 <para>Here the <parameter>+h</parameter> option is not used anymore, since30 all the previous programs have been replaced: hashing is therefore31 possible.</para>32 33 <para>If the virtual kernel file systems have been unmounted, either manually34 or through a reboot, ensure that the virtual kernel file systems are mounted35 when reentering the chroot. This process was explained in <xref36 linkend="ch-tools-bindmount"/> and <xref37 linkend="ch-tools-kernfsmount"/>.</para>38 16 39 17 <para>There are also several files installed in the /usr/lib and /usr/libexec
Note:
See TracChangeset
for help on using the changeset viewer.