aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml10
-rw-r--r--chapter06/chroot.xml2
-rw-r--r--chapter06/revisedchroot.xml6
-rw-r--r--general.ent4
4 files changed, 18 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 0bb2c4ce5..19b882005 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -36,6 +36,16 @@
</listitem>
-->
<listitem>
+ <para>2014-01-14</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Clean up /run and /tmp. Fixes
+ <ulink url="&lfs-ticket-root;3463">#3463</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2014-01-02</para>
<itemizedlist>
<listitem>
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index c90285c9a..d946e5664 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -15,7 +15,7 @@
class="username">root</systemitem>, run the following command to enter the
realm that is, at the moment, populated with only the temporary tools:</para>
-<screen><userinput>chroot "$LFS" /tools/bin/env -i \
+<screen role="nodump"><userinput>chroot "$LFS" /tools/bin/env -i \
HOME=/root \
TERM="$TERM" \
PS1='\u:\w\$ ' \
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>
diff --git a/general.ent b/general.ent
index caac8f1c4..993aa9e10 100644
--- a/general.ent
+++ b/general.ent
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20140102">
-<!ENTITY releasedate "January 2, 2014">
+<!ENTITY version "SVN-20140114">
+<!ENTITY releasedate "January 14, 2014">
<!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.5">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->