aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/revisedchroot.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-15 23:29:31 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2015-03-15 23:29:31 +0000
commit73b2841ee14caae80ea8a2bbaa1cb7e2c21e666f (patch)
tree7dc2c4199ab23e128b141d92c136308eb4288edc /chapter06/revisedchroot.xml
parentecd016b289961104c34b226600ed5e3e943d7f40 (diff)
Remove non-essential static libraries from the installation. Added a new
section in Chapter 6 Introduction, supressed many static libraries in different packages, and removed the remaining in the Cleaning Up section. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10880 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/revisedchroot.xml')
-rw-r--r--chapter06/revisedchroot.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml
index 8927a9f29..d2980f76a 100644
--- a/chapter06/revisedchroot.xml
+++ b/chapter06/revisedchroot.xml
@@ -35,12 +35,22 @@
instructions for this (see <ulink url="&blfs-root;"/>).</para>
</note>
-<screen role="nodump"><userinput>rm -rf /tools</userinput></screen>
-
<para>If the virtual kernel file systems have been unmounted, either manually
or through a reboot, ensure that the virtual kernel file systems are mounted
when reentering the chroot. This process was explained in <xref
linkend="ch-system-bindmount"/> and <xref
linkend="ch-system-kernfsmount"/>.</para>
+ <para>Finally, thre were several static libraries that were not supressed earlier
+ in the chapter in order to satisfy the regression tests in several packages. These
+ libraries are from binutils, bzip2, e2fsprogs, flex, libtool, and zlib. If desired,
+ remove them now:</para>
+
+<screen><userinput>rm /usr/lib/lib{bfd,opcodes}.a
+rm /usr/lib/libbz2.a
+rm /usr/lib/lib{com_err,e2p,ext2fs,ss}.a
+rm /usr/lib/lib{fl,fl_pic}.a
+rm /usr/lib/libltdl.a
+rm /usr/lib/libz.a</userinput></screen>
+
</sect1>