aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-07-05 08:58:46 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-07-05 08:58:46 +0000
commitb6c0d12e38613afd4b2096808aefb29006632d22 (patch)
treedbc0ef17dd9a733e982c6cbe50d3d3870ab26ea3
parent25771c306328211c2925f6924d849b7346f28cd0 (diff)
Change the cleaning of x86_64-lfs* files because some are directly in /usr
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11993 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter08/revisedchroot.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/chapter08/revisedchroot.xml b/chapter08/revisedchroot.xml
index b62fc87b8..5618cf0ff 100644
--- a/chapter08/revisedchroot.xml
+++ b/chapter08/revisedchroot.xml
@@ -66,9 +66,7 @@ rm -f /usr/lib/libz.a</userinput></screen>
<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>
+<screen><userinput>find /usr -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>