Changeset 848907c for chapter06/revisedchroot.xml
- Timestamp:
- 01/17/2014 10:39:02 PM (11 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- e88c73c
- Parents:
- 94c0cb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/revisedchroot.xml
r94c0cb3 r848907c 11 11 <title>Cleaning Up</title> 12 12 13 <para>Finally, clean up some extra files left around from running tests:</para> 14 15 <screen><userinput>rm -rf /run/* /tmp/*</userinput></screen> 16 13 17 <para>From now on, when reentering the chroot environment after 14 18 exiting, use the following modified chroot command:</para> 15 19 16 <screen ><userinput>chroot "$LFS" /usr/bin/env -i\20 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \ 17 21 HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ 18 PATH=/bin:/usr/bin:/sbin:/usr/sbin \22 PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 19 23 /bin/bash --login</userinput></screen> 20 24 … … 32 36 </note> 33 37 38 <screen role="nodump"><userinput>rm -rf /tools</userinput></screen> 39 34 40 <para>If the virtual kernel file systems have been unmounted, either manually 35 41 or through a reboot, ensure that the virtual kernel file systems are mounted
Note:
See TracChangeset
for help on using the changeset viewer.