From: Richard Purdie Date: Sat, 18 Jul 2026 05:35:13 +0000 (+0100) Subject: selftest/layerappend: Improve LICENSE handling X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=16a38984d41533c8e1404a2bbfd4fe84f53cea96;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git selftest/layerappend: Improve LICENSE handling 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 --- diff --git a/meta/lib/oeqa/selftest/cases/layerappend.py b/meta/lib/oeqa/selftest/cases/layerappend.py index 64b17117cc..e8634d9fc8 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() {