aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/revisedchroot.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/revisedchroot.xml')
-rw-r--r--chapter08/revisedchroot.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter08/revisedchroot.xml b/chapter08/revisedchroot.xml
index e0321fdc9..b62fc87b8 100644
--- a/chapter08/revisedchroot.xml
+++ b/chapter08/revisedchroot.xml
@@ -62,6 +62,19 @@ rm -f /usr/lib/libz.a</userinput></screen>
url="&blfs-book;/introduction/la-files.html">BLFS section "About Libtool
Archive (.la) files"</ulink>.</para>
+ <para>The compiler built in <xref linkend="chapter-temporary-tools"/> and
+ <xref linkend="chapter-chroot-temporary-tools"/> is still partially
+ installed, and not needed anymore. Remove it with:</para>
+
+<screen><userinput>find /usr/{bin,lib,libexec,include} \
+ -depth \
+ -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen>
+
+ <para>The <filename class="directory">/tools</filename> directory can also
+ be removed to further gain some place:</para>
+
+<screen><userinput>rm -rf /tools</userinput></screen>
+
<para>Finally, remove the temporary 'tester' user account created at the
beginning of the previous chapter.</para>