|
@@ -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
|