diff mbox series

[20/22] meta-selftest: Change license on test recipes

Message ID 20260714190405.3328796-21-JPEWhacker@gmail.com
State New
Headers show
Series Rework LICENSE to be SPDX License Expressions | expand

Commit Message

Joshua Watt July 14, 2026, 6:31 p.m. UTC
The "CLOSED" license now issues a warning that it should be replaced
with a LicenseRef, so remove it from the test file in favor of declaring
an MIT license

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb  | 3 ++-
 meta-selftest/recipes-test/devtool/devtool-test-ignored.bb     | 3 ++-
 meta-selftest/recipes-test/devtool/devtool-test-localonly.bb   | 3 ++-
 .../recipes-test/devtool/devtool-test-long-filename.bb         | 3 ++-
 meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb  | 3 ++-
 meta-selftest/recipes-test/devtool/devtool-test-subdir.bb      | 3 ++-
 meta-selftest/recipes-test/logging-test/logging-test.bb        | 3 ++-
 meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb | 3 ++-
 meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb | 3 ++-
 .../recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb      | 3 ++-
 .../recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb        | 3 ++-
 .../recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb        | 3 ++-
 meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb    | 3 ++-
 13 files changed, 26 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb b/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb
index f12bee0b3d..467df669df 100644
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-patch-overrides.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "devtool test for overrides and patches"
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 EXCLUDE_FROM_WORLD = "1"
 
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb b/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb
index c7740eb118..6ea4fa71fb 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-ignored.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://${BPN}.tar.gz \
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb b/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
index 54463fed98..aad3a62f1f 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://file1 \
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb b/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb
index 3653403a2e..ce0a468403 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-long-filename.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://${BPN}.tar.gz \
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb b/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb
index 0146be4c52..fbfb456bf9 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-reset-re++.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://file1"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb b/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb
index 966142431b..0351a1e3bb 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-subdir.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 SRC_URI = "file://devtool-test-subdir.tar.gz \
diff --git a/meta-selftest/recipes-test/logging-test/logging-test.bb b/meta-selftest/recipes-test/logging-test/logging-test.bb
index ac3fb46f45..b08678ac58 100644
--- a/meta-selftest/recipes-test/logging-test/logging-test.bb
+++ b/meta-selftest/recipes-test/logging-test/logging-test.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Destined to fail"
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 deltask do_patch
 INHIBIT_DEFAULT_DEPS = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb
index 21f06782fb..76ea0e895d 100644
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb
+++ b/meta-selftest/recipes-test/sysroot-test/sysroot-la-test_1.0.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Produce a broken la file"
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb
index e748310fc4..ee1c99a97e 100644
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb
+++ b/meta-selftest/recipes-test/sysroot-test/sysroot-pc-test_1.0.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Produce a broken pc file"
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb
index 106ddd5426..3926bd9bf2 100644
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb
+++ b/meta-selftest/recipes-test/sysroot-test/sysroot-shebang-test_1.0.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Check that shebang does not exceed 256 characters"
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 
 EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb
index 36a682c53d..9e5c72e5b1 100644
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb
+++ b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch1_1.0.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 PROVIDES = "virtual/sysroot-test"
 INHIBIT_DEFAULT_DEPS = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb
index 67172f3cab..d84b8c6282 100644
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb
+++ b/meta-selftest/recipes-test/sysroot-test/sysroot-test-arch2_1.0.bb
@@ -1,4 +1,5 @@ 
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 PROVIDES = "virtual/sysroot-test"
 INHIBIT_DEFAULT_DEPS = "1"
diff --git a/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb b/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb
index 560487c159..dc265dbe35 100644
--- a/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb
+++ b/meta-selftest/recipes-test/sysroot-test/sysroot-test_1.0.bb
@@ -1,5 +1,6 @@ 
 SUMMARY = "Virtual provider sysroot test"
-LICENSE = "CLOSED"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "virtual/sysroot-test"