[oe] [PATCH 3/6] package.bbclass, package_ipk.bbclass: add dynamic depends on locale packages (ipk specific)

Mike (mwester) mwester at dls.net
Thu Feb 12 18:38:28 UTC 2009


Phil Blundell wrote:
> On Thu, 2009-02-12 at 14:38 -0200, Otavio Salvador wrote:
>> +
>> +		if pkgname.find('-locale-') == -1:
>> +			rdepends.append('%s-locale*' % pkgname)
>> +
> 
> This looks like it will add locale dependencies to all the subpackages
> (e.g. foo-doc, foo-dev and the like) as well as the main "foo" package,
> which is a bit different to how the old code used to work.  But I guess
> that's harmless enough: the worst effect will be to bloat the Packages
> file a bit, and I doubt anybody will care too much.  So, thumbs up from
> me.

How much bloat?  Opkg already trips the OOM killer on the NSLU2 (32MB of
RAM) when it loads the current Packages file and then tries to do
something; we can work around it for now, but if this doubles the size
in-memory, we may simply not have enough RAM to do whatever it is that
opkg does with all that in-memory.

I have grave concerns over anything that adds unnecessary entries that
cannot be turned off.

Mike (mwester)




More information about the Openembedded-devel mailing list