Skip to contentSkip to conversation

poky.conf: use correct GPLv3 license name

PATCH New Ross Burton 1 participant 1 message Jun 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky.conf: use correct GPLv3 license name

The logic to determine whether qemu images can ship parts of the toolchain was using the old (non-canonical) name for GPL v3, which meant qemu images were attempting to install binutils in no-v3 images.

Fix this by using the canonical license name in the check.

---
 meta-yocto/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto/conf/distro/poky.conf +1 -1
index b47325d..e3d3c78 100644
@@ -32,7 +32,7 @@ SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
 DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
 DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
 
-POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPLv3", "", "packagegroup-core-device-devel",d)}"
+POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}"
 DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
 DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}"
 DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
Signature · 1 line
2.1.4