https://lists.yoctoproject.org/pipermail/poky/2011-December/007341.html From gnutls bb file: 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+" In a core-image-minimal build with (INCOMPATIBLE_LICENSE = "GPLv3") and wpa-supplicant (has gnutls dependency), gnutls-extra is present in rootfs event if it has GPLv3 license.
If you look into wpa-supplicant-0.7.3/defconfig-gnutls you can see there CONFIG_GNUTLS_EXTRA=y. Commenting out this CONFIG_GNUTLS_EXTRA=y creates a build into which I do not have anymore the libraries from the -extra rpm.
You can assign this bug to me. I will upload a patch as soon as my test build will be finished.
Created attachment 306 [details] gplv3 rpm shouldn't be pulled in a non-gplv3 build I uploaded a patch for this bug. This solution checks if it is a non-GPLv3 build and install a specific defconfig accordingly.
I just realized that the subject was not clear enough so i edited it.
Patch submitted by email to openembedded-core list: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/015129.html
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=199a9094c99bf0eb5bcc54c3c42e013ce074bc03
I simplified this problem by removing this config in both build cases. Patch submitted.