Skip to contentSkip to conversation

selftest/layerappend: Improve LICENSE handling

PATCH New Richard Purdie 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/lib/oeqa/selftest/cases/layerappend.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/layerappend.py +2 -1
index 64b17117cc2..e8634d9fc84 100644
@@ -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() {