summaryrefslogtreecommitdiffstats
path: root/meta/classes/license.bbclass
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:43:48 +0000
commit5d5c999ec0a40e3fa14041c35035c8cd4a1da01d (patch)
treea611c6b1177b1e03112f538a5c18a9d39df58e28 /meta/classes/license.bbclass
parent2b3ee9ac02ebeaee20be3460010005a4697ab402 (diff)
downloadopenembedded-core-contrib-5d5c999ec0a40e3fa14041c35035c8cd4a1da01d.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") Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
-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):
"""
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"],
}