From: Christian Eggers Date: Mon, 7 Mar 2022 10:12:55 +0000 (+0100) Subject: license: expand_wildcard_licenses: add AGPL-3.0* wildcard X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4931 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d5c999ec0a40e3fa14041c35035c8cd4a1da01d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git license: expand_wildcard_licenses: add AGPL-3.0* wildcard The Yocto reference manual suggests also settings AGPL-3.0 in INCOMPATIBLE_LICENSE. https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-INCOMPATIBLE_LICENSE Fixes: 724fc8047cae ("license: Rework INCOMPATIBLE_LICENSE wildcard handling") Signed-off-by: Christian Eggers Signed-off-by: Richard Purdie --- diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index cb1f46983ac..94338be90a4 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -282,6 +282,7 @@ def expand_wildcard_licenses(d, wildcard_licenses): """ licenses = set(wildcard_licenses) mapping = { + "AGPL-3.0*" : ["AGPL-3.0-only", "AGPL-3.0-or-later"], "GPL-3.0*" : ["GPL-3.0-only", "GPL-3.0-or-later"], "LGPL-3.0*" : ["LGPL-3.0-only", "LGPL-3.0-or-later"], }