From 5d5c999ec0a40e3fa14041c35035c8cd4a1da01d Mon Sep 17 00:00:00 2001 From: Christian Eggers Date: Mon, 7 Mar 2022 11:12:55 +0100 Subject: [PATCH] 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 --- meta/classes/license.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index cb1f46983a..94338be90a 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"], } -- 2.40.1