diff options
Diffstat (limited to 'chapter06/revisedchroot.xml')
-rw-r--r-- | chapter06/revisedchroot.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml index ecfd51f71..f233d82cc 100644 --- a/chapter06/revisedchroot.xml +++ b/chapter06/revisedchroot.xml @@ -10,10 +10,14 @@ <title>Cleaning Up</title> + <para>Finally, clean up some extra files left around from running tests:</para> + +<screen><userinput>rm -rf /run/* /tmp/*</userinput></screen> + <para>From now on, when reentering the chroot environment after exiting, use the following modified chroot command:</para> -<screen><userinput>chroot "$LFS" /usr/bin/env -i \ +<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \ HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /bin/bash --login</userinput></screen> |