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
This commit is contained in:
Pierre Labastie 2020-07-05 08:58:46 +00:00
parent 25771c3063
commit b6c0d12e38

View File

@ -66,9 +66,7 @@ rm -f /usr/lib/libz.a</userinput></screen>
<xref linkend="chapter-chroot-temporary-tools"/> is still partially <xref linkend="chapter-chroot-temporary-tools"/> is still partially
installed, and not needed anymore. Remove it with:</para> installed, and not needed anymore. Remove it with:</para>
<screen><userinput>find /usr/{bin,lib,libexec,include} \ <screen><userinput>find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen>
-depth \
-name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen>
<para>The <filename class="directory">/tools</filename> directory can also <para>The <filename class="directory">/tools</filename> directory can also
be removed to further gain some place:</para> be removed to further gain some place:</para>