[PATCH] shared libbusybox, option for IMA mode

Bernhard Fischer rep.nop at aon.at
Sun Jan 15 14:54:05 UTC 2006


On Sun, Jan 15, 2006 at 12:39:32PM +0100, Bernhard Fischer wrote:
>On Fri, Jan 13, 2006 at 11:56:20PM -0600, Rob Landley wrote:
>>On Friday 13 January 2006 03:33, Bernhard Fischer wrote:
>>> On Thu, Jan 12, 2006 at 05:32:32PM -0600, Rob Landley wrote:
>>> >Well, my theory going forward is that we should try to _stay_ stable, and
>>> > have a new release every 3 months or so.  (This doesn't mean we can't
>>> > check in big things, just that we should test 'em and clean them up and
>>> > get them _out_ in usable form.)  Most major changes happen on a
>>> > per-applet basis, so worst case scenario is we have to temporarily revert
>>> > an applet for a release.  Fluffing up the regression testing suite is
>>> > highly cool, too.
>>>
>>> I will thus checkin the attached patch during the weekend unless
>>> somebody objects loudly (minimal eta about 30 hours from now).
>>
>>As long as the system still builds the same with it configged out, I don't 
>>mind at all.
>
>It does. I'll apply it later today.

done.

Please do holler if I broke something.

>>> It does allow for building libbb as shared object libbusybox.so in
>>> combinations of:
>>> - full libbb/*
>>> - partial libbb/* (¹)
>>> - link busybox against libbusybox or not.
>>>
>>> (¹) the applets need to be audited to add the functions they call from
>>> libbusybox. e.g. in libbb/Makefile.in:
>>> LIBBB-$(CONFIG_FEATURE_WHATEVER)+= some.c
>>
>>Are you doing anything with the standalone stuff, or should I brush that off 
>>and try to nail it on myself?
>
>For now i won't look at it, so please go ahead.

1) If CONFIG_FEATURE_SHARED_BUSYBOX is set, I propose to build
libbusybox with -Wl,z,nodelete. What do you think?

2) The ext2fs utils are not up to be built with "compile sources at
once" from the "Build options" menu. Vapier, can you please have a look?

3) "make install" needs an option to select whether the headers should
be installed or not. Personally i'd rename libbb.h to libbusybox.h,
but that's purely cosmetic and i guess Rob doesn't like it.




More information about the busybox mailing list