aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/revisedchroot.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-14 19:36:32 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-14 19:36:32 +0000
commit7557ca61d20387c8a2ec0c0990e7988e7c13da57 (patch)
treea304f1a0775a954fb244b8f1dc32c5b5ab93314c /chapter06/revisedchroot.xml
parent7421f818d36c1c8d72eb6b2b5b6a03c821a1534f (diff)
Clean /run and /tmp at the end of Chapter 6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10440 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/revisedchroot.xml')
-rw-r--r--chapter06/revisedchroot.xml6
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>