Skip to contentSkip to conversation

license: expand_wildcard_licenses: add AGPL-3.0* wildcard

PATCH New Christian Eggers 1 participant 1 message Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 meta/classes/license.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/license.bbclass +1 -0
index cb1f46983aca..94338be90a4f 100644
@@ -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"],
     }
Signature · 1 line
2.34.1