summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2022-03-07 11:12:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-07 22:44:55 +0000
commit0e702fff268bc04b56d551a3c5305b1b7184b5b4 (patch)
treec86cf4956c7948f941885012bc62501899d32a73
parent7493b054f9c7e56f46ce804472f35f0a4dffbc72 (diff)
downloadpoky-0e702fff268bc04b56d551a3c5305b1b7184b5b4.tar.gz
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") (From OE-Core rev: 5d5c999ec0a40e3fa14041c35035c8cd4a1da01d) Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/license.bbclass1
1 files changed, 1 insertions, 0 deletions
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):
282 """ 282 """
283 licenses = set(wildcard_licenses) 283 licenses = set(wildcard_licenses)
284 mapping = { 284 mapping = {
285 "AGPL-3.0*" : ["AGPL-3.0-only", "AGPL-3.0-or-later"],
285 "GPL-3.0*" : ["GPL-3.0-only", "GPL-3.0-or-later"], 286 "GPL-3.0*" : ["GPL-3.0-only", "GPL-3.0-or-later"],
286 "LGPL-3.0*" : ["LGPL-3.0-only", "LGPL-3.0-or-later"], 287 "LGPL-3.0*" : ["LGPL-3.0-only", "LGPL-3.0-or-later"],
287 } 288 }