On Tue, Apr 24, 2012 at 20:44, Flanagan, Elizabeth < [email protected]> wrote:
> On Tue, Apr 24, 2012 at 10:25 AM, Andrei Gherzan <[email protected]> > wrote: > > Hello everybody, > > > > Is there any mechanism of parsing LICENSE variables for every provided > > package in a bb file? > > > > To be a little more clear about this. > > > > If i have an app named myapp. Let's say the myapp_1.0.bb includes: > > LICENSE = "GPLv3 & LGPLv2.1" > > LICENSE_${PN} = LGPLv2.1 > > LICENSE_${PN} -tests = GPLv3 > > > > If this app is not whitelisted, this file will pe ignored (assuming > > INCOMPATIBLE_LICENSE = GPLv3) even if the only needed package on the > final > > fs is the ${PN} package. > > > > As you have package level licensing set, it will actually check the > LICENSE_${PN}. See: > bdf2d94c35b7e5ed1723f987696a6c865bff212c Which means it will go and > use the PN level > license to determine if it should be excluded. If no PN level exists > it should fall back to LICENSE > > I realize this but still, what about the rest for packages provided in a bb file? > > For files in these case (like gnults) we use right now WHITELIST. In > this > > way license checking on those packages is skipped. > > > > If nobody works on this (or this is already done but i couldn't spot it > in > > the code) i can dig and propose a way to solve this issue. > > > > @g > > _______________________________________________ > > Openembedded-core mailing list > > [email protected] > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > > > > > -- > Elizabeth Flanagan > Yocto Project > Build and Release > > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
