Ignore:
Timestamp:
08/19/2020 05:17:20 PM (4 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.0, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
1446892
Parents:
c0c616a
Message:

always remove the docs of temporary tools

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12030 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/stripping.xml

    rc0c616a r45d8933  
    1717
    1818<screen><userinput>find /usr/{lib,libexec} -name \*.la -delete</userinput></screen>
     19
     20    <para>Remove the documentation of the temporary tools, to prevent them
     21    from ending up in the final system, and save about 35 MB:</para>
     22
     23<screen><userinput>rm -rf /usr/share/{info,man,doc}/*</userinput></screen>
    1924
    2025  <note><para>
     
    97102    ones would be destroyed and the toolchain packages would need to be
    98103    built all over again.</para>
    99 
    100     <para>To save more space (slightly more than 35 MB), remove the documentation:</para>
    101 
    102 <screen role="nodump"><userinput>rm -rf $LFS/usr/share/{info,man,doc}</userinput></screen>
    103104
    104105    <para>At this point, you should have at least 5 GB of free space on the
Note: See TracChangeset for help on using the changeset viewer.