[agl-discussions] GPLv2 handling

Matt Ranostay matt.ranostay at konsulko.com
Fri Feb 9 22:58:18 UTC 2018


On Thu, Feb 8, 2018 at 2:39 PM, Jan-Simon Möller
<jsmoeller at linuxfoundation.org> wrote:
> Am Donnerstag, 8. Februar 2018, 22:33:19 CET schrieb Martin Kelly:
>> Hi,
>>
>> I noticed we recently started pulling in the meta-gplv2 layer for
>> agl-demo and defaulting to its recipes in the AGL distro settings.
>> Although I can see the reasoning for this, it also breaks a number of
>> recipes because what's in meta-gplv2 is very old (e.g. readline 5 vs
>> readline 7). I noticed this breakage when trying to build networkmanager
>> (which needs at least readline 6), but I'm sure there are many other
>> breakages because of such old recipes.
>>
>> I'm wondering if anyone has objections to making this all controlled at
>> the top-level, while preserving the current GPLv2 default.
>>
>> My first thoughts on how to do this are:
>>
>> - An AGL feature called "agl-demo-gplv3" that would add in agl-demo but
>> not meta-gplv2.
>> - A DISTRO_FEATURE "gplv3", unset by default. If it is not set, then we
>> make the PREFERRED_VERSION for various libraries default to gplv2
>> versions in our distro settings.
>
> Yes, right now its global.  In general ack, that a switch would be good.
>
> We might have to be a little more specific (e.g. no gplv3 on _class-target but
> allow on _class-nativesdk or _class-native ).
>
> @Matt: thoughts ? suggestions ?
>

That seems like a good idea if we run into more failures.

But do note that networkmanager is an on-device package and can't be
using a GPLv3 version
of readline.Likely if networkmanager is needed on the device you will
need to add something like this bbappend for gdb ->
https://gerrit.automotivelinux.org/gerrit/#/c/13313/

Without readline you lose tab-completion but it shouldn't cause too
much lose of functionality.

> Best,
> Jan-Simon
>
>
> _______________________________________________
> automotive-discussions mailing list
> automotive-discussions at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions


More information about the automotive-discussions mailing list