mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
always remove the docs of temporary tools
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12030 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
c0c616a439
commit
45d8933fde
@ -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 @@ strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user