[oe] [RFC] LICENSE fields and packages

Phil Blundell pb at reciva.com
Wed Nov 26 14:57:55 CET 2008


On Wed, 2008-11-26 at 13:27 +0100, Koen Kooi wrote:
> On 26-11-08 12:31, Phil Blundell wrote:
> > On Wed, 2008-11-26 at 12:21 +0100, Koen Kooi wrote:
> >>> ${PN}-license package on which all entries from PACKAGES will RDEPEND?
> >> Any objections to doing it this way till we have a proper bbclass?
> >
> > I think this is a fine idea.  It should be a DISTRO opt-in choice, of
> > course, but I can't see any reason not to provide the facility.
> 
> My idea was to make it opt-in on a per package basis since DISTROs can 
> include base-files-doc for the most commit licenses (GPL, MIT, BSD, etc).

Hm, right.  I guess the selection should be both per-package and
per-DISTRO.

How about allowing the DISTRO to specify a regexp for the licences that
it "knows about"; any package for which ${LICENSE} doesn't match the
regexp will get the ${PN}-license thing.  The default regexp would be
set to ".*" in bitbake.conf, in order to preserve the current behaviour
of not emitting any ${PN}-license; DISTROs that want to make use of the
new feature can set it to whatever they like.

p.






More information about the Openembedded-devel mailing list