[poky] gnutls-2.12.14-r3.1 - strange rpm names yocto

Foinel flocirel at gmail.com
Tue Dec 13 02:04:36 PST 2011


This is exactly the issue: the third rpm (-extra) gets included in the rootfs.
So in the rootfs I get the files from the first rpm and the third rpm
(second rpm does not get included in my *.tar.bz2 archive).
One more thing to note: libgnutls-extra.so.26.21.8 from the rootfs
(which is the library from the -extra rpm, which is GPLv3 code) has a
different size from the one in
tmp/work/armv5te-poky-linux-gnueabi/gnutls-2.12.14-r3.1/packages-split/gnutls-extra/usr/lib/libgnutls-extra.so.26.21.8
(they are both stripped, so what would explain this size difference?).

Thanks.

On Tue, Dec 13, 2011 at 11:40 AM, Anders Darander <anders at chargestorm.se> wrote:
> * Foinel <flocirel at gmail.com> [111213 10:19]:
>
>> So for example, in the situation when I have a build from which I want
>> to exclude GPLv3 code from, but gnutls is added to the build as a
>> dependency of some package, and the licensing of gnutls is as follows:
>
>> LICENSE = "GPLv3+ & LGPLv2.1+"
>> LICENSE_${PN} = "LGPLv2.1+"
>> LICENSE_${PN}-xx = "LGPLv2.1+"
>> LICENSE_${PN}-bin = "GPLv3+"
>> LICENSE_${PN}-extra = "GPLv3+"
>> LICENSE_${PN}-openssl = "GPLv3+"
>
>> then my understanding is either don't include any code from gnutls as
>> it's double licence or just include the non GPLv3 rpms (the first and
>> second rpm). Am I right?
>
> Yes, it's OK to include the first two rpms, as they only should include
> files licensed under LGPLv2.1+. The last three rpm's needs to be avoided
> to get a GPLv3 free image.
>
> If any of the rpm's would have been licensed under "GPLv3+ & LGPLv2.1+",
> it would also have been fine to include that one in your image, as in
> this case, you're free to choose between the two licenses.
>
> Cheers,
> Anders
>
>> On Tue, Dec 13, 2011 at 1:21 AM, Khem Raj <raj.khem at gmail.com> wrote:
>> > On Mon, Dec 12, 2011 at 2:42 PM, Andrei Gherzan <andrei at gherzan.ro> wrote:
>> >> So as you can see here is checked every package. This variable,
>> >> LGPLv2_WHITELIST_GPLv3, is defined in default-distrovars.inc as:
>> >> LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn libgcc
>> >> gcc-runtime"
>
>> > most of them have exceptions along with gplv3 or are lgplv3/lgplv2.1
>> > e.g. the gcc bits in there are gplv3 with GCC Runtime Library Exception
>> > _______________________________________________
>> > poky mailing list
>> > poky at yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/poky
>> _______________________________________________
>> poky mailing list
>> poky at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>
> --
> Anders Darander
> ChargeStorm AB / eStorm AB
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky



More information about the poky mailing list