]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
selftest/layerappend: Improve LICENSE handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Jul 2026 05:35:13 +0000 (06:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2026 19:51:33 +0000 (20:51 +0100)
Rather than using "CLOSED" for the test, which isn't really a license, switch
to use MIT. This improves our SPDX compatibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/layerappend.py

index 64b17117cc2a09eb78c7b23005b260f1faf65115..e8634d9fc8437151fb4e194e2770aeb5569b48b6 100644 (file)
@@ -23,7 +23,8 @@ BBFILE_PATTERN_meta-layerINT := "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-layerINT = "6"
 """
     recipe = """
-LICENSE="CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 python do_build() {