]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
meta-selftest: Add NO_GENERIC_LICENSE
authorJoshua Watt <JPEWhacker@gmail.com>
Wed, 15 Jul 2026 16:45:02 +0000 (10:45 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2026 19:51:33 +0000 (20:51 +0100)
Adds NO_GENERIC_LICENSE for a non-SPDX license identifier, since it is
now enforced that licenses are either SPDX license identifiers, have a
matching generic license, or use NO_GENERIC_LICENSE

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/license/incompatible-nonspdx-license.bb

index 142d73158e6fc0783b9cf74d4f37bc74b651aaa1..128f313e1f844310ca1044dc36f83c483869f31b 100644 (file)
@@ -1,5 +1,6 @@
 SUMMARY = "Recipe with a non-SPDX license"
 DESCRIPTION = "Is licensed with a non-SPDX license to be used for testing"
 LICENSE = "FooLicense"
+NO_GENERIC_LICENSE[FooLicense] = "LICENSE"
 
 EXCLUDE_FROM_WORLD = "1"