[OE-core] [PATCH 0/1] base/license.bbclass: handle multiple INCOMPATIBLE_LICENSEs

Flanagan, Elizabeth elizabeth.flanagan at intel.com
Wed Nov 28 23:14:10 UTC 2012


On Mon, Nov 19, 2012 at 8:37 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2012-11-16 at 11:09 -0800, Andy Ross wrote:
>> On 11/01/2012 11:02 AM, Andy Ross wrote:
>> > We hit a problem trying to exclude L/GPLv3 recipes where
>> > INCOMPATIBLE_LICENSE could only match exactly one license.  The older
>> > wildcard syntax had been broken by a more recent SPDX change
>> > (specifying a string without a SPDXLICENSEMAP entry could crash), so
>> > "*GPLv3" wouldn't work.
>>
>> Ping
>
> I'd like Beth to comment on this patch and she was out last week. I'm
> not 100% if she is back this week :/.
Sorry about the absence (ELCE/Vacation/Thanksgiving had me out for a while).

This patch needs a rebase and a minor bit of whitespace work. I've
done some work to make it apply to the current master head and tested
it out and it does improve the utility of INCOMPATIBLE_LICENSE quite a
bit.

I was able to not-create an image with:

INCOMPATIBLE_LICENSE += "*BSD*"
INCOMPATIBLE_LICENSE += "*GPL*"

Obviously this would fail, however this does end up excluding all
*GPL* and *BSD* licenses.

If it's ok with you, Andy, I'll just submit my modifications to your patch.

-b

>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



-- 
Elizabeth Flanagan
Yocto Project
Build and Release




More information about the Openembedded-core mailing list