diff mbox series

selftest/layerappend: Improve LICENSE handling

Message ID 20260719124704.137852-1-richard.purdie@linuxfoundation.org
State Under Review
Headers show
Series selftest/layerappend: Improve LICENSE handling | expand

Commit Message

Richard Purdie July 19, 2026, 12:47 p.m. UTC
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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/layerappend.py b/meta/lib/oeqa/selftest/cases/layerappend.py
index 64b17117cc2..e8634d9fc84 100644
--- a/meta/lib/oeqa/selftest/cases/layerappend.py
+++ b/meta/lib/oeqa/selftest/cases/layerappend.py
@@ -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() {