[lfs-dev] [lfs-book] r10880 - in trunk/BOOK: . chapter01 chapter06 prologue

Bruce Dubbs bruce.dubbs at gmail.com
Mon Mar 16 08:11:32 PDT 2015


Armin K. wrote:
> On 16.3.2015 0:29, bdubbs at higgs.linuxfromscratch.org wrote:
>> Author: bdubbs
>> Date: Sun Mar 15 16:29:31 2015
>> New Revision: 10880
>>
>> Log:
>> 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.
>>
>
>>
>> Modified: trunk/BOOK/chapter06/bison.xml
>> ==============================================================================

> Bison only installs static library. It's unwise to delete it as we don't know
> what may use it.

And it's required by POSIX.  Reverted.

>
>> Modified: trunk/BOOK/chapter06/revisedchroot.xml
>> ==============================================================================

>> +<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
>
> Flex shared library is broken. I suggest keeping the static ones for the time
> being until the next flex release. The way automake tests fail when using shared
> lib is the same one other packages may fail (I've seen at least two more, not
> remember which ones currently).
>
>> +rm /usr/lib/libltdl.a
>> +rm /usr/lib/libz.a</userinput></screen>
>> +

OK. Left flex libs alone, but added a note for the editors.

>>   </sect1>
>>
>> Modified: trunk/BOOK/chapter06/util-linux.xml
>> ==============================================================================
>> --- trunk/BOOK/chapter06/util-linux.xml    Wed Mar 11 10:36:39 2015    (r10879)
>> +++ trunk/BOOK/chapter06/util-linux.xml    Sun Mar 15 16:29:31 2015    (r10880)
>> @@ -71,6 +71,7 @@
>>               --disable-setpriv    \
>>               --disable-runuser    \
>>               --disable-pylibmount \
>> +            --disable-static     \
>>               --without-python     \
>>               --without-systemd    \
>>               --without-systemdsystemunitdir</userinput></screen>
>>
>
> Bad alignment?

Looks OK to me in the book and my copy of the source.

   -- Bruce



More information about the lfs-dev mailing list