Author: xry111
Date: Wed Aug 19 10:17:20 2020
New Revision: 12030

Log:
always remove the docs of temporary tools

Modified:
   trunk/BOOK/chapter07/stripping.xml

Modified: trunk/BOOK/chapter07/stripping.xml
==============================================================================
--- trunk/BOOK/chapter07/stripping.xml  Wed Aug 19 08:31:33 2020        (r12029)
+++ trunk/BOOK/chapter07/stripping.xml  Wed Aug 19 10:17:20 2020        (r12030)
@@ -17,6 +17,11 @@
 
 <screen><userinput>find /usr/{lib,libexec} -name \*.la 
-delete</userinput></screen>
 
+    <para>Remove the documentation of the temporary tools, to prevent them
+    from ending up in the final system, and save about 35 MB:</para>
+
+<screen><userinput>rm -rf /usr/share/{info,man,doc}/*</userinput></screen>
+
   <note><para>
     All the remaining steps in this section are optional. Nevertheless,
     as soon as you begin installing packages in <xref
@@ -97,10 +102,6 @@
     ones would be destroyed and the toolchain packages would need to be
     built all over again.</para>
 
-    <para>To save more space (slightly more than 35 MB), remove the 
documentation:</para>
-
-<screen role="nodump"><userinput>rm -rf 
$LFS/usr/share/{info,man,doc}</userinput></screen>
-
     <para>At this point, you should have at least 5 GB of free space on the
     chroot partition that can be used to build and install Glibc and GCC in
     the next phase. If you can build and install Glibc, you can build and 
install
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to