diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-07-04 21:14:57 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-07-04 21:14:57 +0000 |
commit | 25771c306328211c2925f6924d849b7346f28cd0 (patch) | |
tree | 2d4557869b0e8335b80728c11b16ec5dd10bedd8 /chapter08/revisedchroot.xml | |
parent | 5a986cbf759fcd9377e067f150241ef7f2b7e453 (diff) |
Various clean up:
- prevent static python libraries to be installed in chapter 7 since it
is not overwrittent in chapter 8
- have libstdc++-pass2 install its host specific headers into a host
specific directory
- clean the temporary compiler and the cros compiler at the end of chapter 8
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11992 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/revisedchroot.xml')
-rw-r--r-- | chapter08/revisedchroot.xml | 13 |
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> |