From c9a16c563e2452f7ef068e4bd504e7baedb830f0 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 16 Jul 2014 22:08:14 +0100 Subject: default-distrovars/multilib: update license whitelists to use canonical names Now that all licenses are canonicalised to SPDX names when processing, we need to rename the whitelists to the match. [RP: Fixed up multilib.bbclass too] (From OE-Core rev: 5b6cdac26e35e9a3b8b09185fc16765fa99dfe5f) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/multilib.bbclass | 2 +- meta/conf/distro/include/default-distrovars.inc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 9a1cb1d916..6e143dd70d 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -50,7 +50,7 @@ python multilib_virtclass_handler () { e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) # Expand the WHITELISTs with multilib prefix - for whitelist in ["HOSTTOOLS_WHITELIST_GPLv3", "WHITELIST_GPLv3", "LGPLv2_WHITELIST_GPLv3"]: + for whitelist in ["HOSTTOOLS_WHITELIST_GPL-3.0", "WHITELIST_GPL-3.0", "LGPLv2_WHITELIST_GPL-3.0"]: pkgs = e.data.getVar(whitelist, True) for pkg in pkgs.split(): pkgs += " " + variant + "-" + pkg diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 1bc8e46b8a..8d24d66fc1 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -23,9 +23,9 @@ IMAGE_FEATURES ?= "" # This is a list of packages that are used by the build system to build the distribution, they are not # directly part of the distribution. -HOSTTOOLS_WHITELIST_GPLv3 ?= "" -WHITELIST_GPLv3 ?= "less" -LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn libgcc libgcc-initial gcc-runtime" +HOSTTOOLS_WHITELIST_GPL-3.0 ?= "" +WHITELIST_GPL-3.0 ?= "less" +LGPLv2_WHITELIST_GPL-3.0 ?= "libassuan gnutls libtasn1 libidn libgcc libgcc-initial gcc-runtime" COMMERCIAL_AUDIO_PLUGINS ?= "" # COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" -- cgit v1.2.3-54-g00ecf