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

Phil Blundell pb at reciva.com
Thu Feb 12 22:42:24 UTC 2009


On Thu, 2009-02-12 at 12:38 -0600, Mike (mwester) wrote:
> Phil Blundell wrote:
> > 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? 

For a source package "foo", you'd be talking about adding one copy of
the literal string "foo-locale-*" to the Depends line for each of its
subpackages (foo-doc, foo-dev, foo-dbg and the like).  The exact amount
obviously depends on the length of the package name, but I guess you
could call it about 16 bytes per binary package as a rough
approximation.

Exactly what the real-world impact of that would be will depend on your
distro policy.  If you already strip out the -dev and -doc packages from
the main Packages feed then obviously the impact will be virtually nil
because most of the affected packages won't be there in the first place.
At the other extreme, if your Packages files currently contain
everything from the control data (including Source:, Description: and so
on) then they are probably so huge already that another sixteen bytes
per package is negligible in percentage terms.

If those 16*n bytes did turn out to cause a problem for someone then it
probably wouldn't be that hard to reinstate the original behaviour of
only adding this dependency on the primary binary.

p.






More information about the Openembedded-devel mailing list