]> code.ossystems Code Review - openembedded-core.git/commitdiff
license: expand_wildcard_licenses: add AGPL-3.0* wildcard
authorChristian Eggers <ceggers@arri.de>
Mon, 7 Mar 2022 10:12:55 +0000 (11:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Mar 2022 22:43:48 +0000 (22:43 +0000)
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>
meta/classes/license.bbclass

index cb1f46983acabfd97e08bc8da517edc69abed4dd..94338be90a4f480919b36532c614932540723305 100644 (file)
@@ -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"],
     }