summaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/classes/localpkgfeed.bbclass27
-rw-r--r--meta-selftest/classes/test-mkimage-wrapper.bbclass19
-rw-r--r--meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc82
-rw-r--r--meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc.upgraded88
-rw-r--r--meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb19
-rw-r--r--meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded19
-rw-r--r--meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch2
-rw-r--r--meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb17
-rw-r--r--meta-selftest/recipes-test/bbclasses/systemd-only.bb12
-rw-r--r--meta-selftest/recipes-test/cpp/cpp-example.inc3
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch2
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch2
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch2
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected1
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-localonly.bb3
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch2
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected1
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch2
-rw-r--r--meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch2
-rw-r--r--meta-selftest/recipes-test/fortran/fortran-helloworld.bb5
-rw-r--r--meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch2
-rw-r--r--meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch2
-rw-r--r--meta-selftest/recipes-test/recipetool/files/add-file.patch2
-rw-r--r--meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb5
-rw-r--r--meta-selftest/recipes-test/selftest-chown/selftest-chown.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb16
-rw-r--r--meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb5
-rw-r--r--meta-selftest/recipes-test/selftest-users/acreategroup.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-users/bcreategroup.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-users/ccreategroup.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-users/creategroup1.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-users/creategroup2.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-users/dcreategroup.bb3
-rw-r--r--meta-selftest/recipes-test/selftest-users/useraddbadtask.bb3
-rw-r--r--meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb3
35 files changed, 335 insertions, 34 deletions
diff --git a/meta-selftest/classes/localpkgfeed.bbclass b/meta-selftest/classes/localpkgfeed.bbclass
new file mode 100644
index 0000000000..b796375e55
--- /dev/null
+++ b/meta-selftest/classes/localpkgfeed.bbclass
@@ -0,0 +1,27 @@
1# Create a subset of the package feed that just contain the
2# packages depended on by this recipe.
3
4LOCALPKGFEED_DIR = "${WORKDIR}/localpkgfeed"
5
6addtask localpkgfeed after do_build
7do_localpkgfeed[cleandirs] = "${LOCALPKGFEED_DIR}"
8do_localpkgfeed[nostamp] = "1"
9
10def get_packaging_class(d):
11 package_class = d.getVar("PACKAGE_CLASSES").split()[0]
12 return package_class.replace("package_", "")
13
14python () {
15 packaging = get_packaging_class(d)
16 d.setVarFlag("do_localpkgfeed", "rdeptask", "do_package_write_" + packaging)
17}
18
19python do_localpkgfeed() {
20 import oe.package_manager
21
22 packaging = get_packaging_class(d)
23 deploydir = d.getVar("DEPLOY_DIR_" + packaging.upper())
24 task = "package_write_" + packaging
25
26 oe.package_manager.create_packages_dir(d, d.getVar("LOCALPKGFEED_DIR"), deploydir, task, True, True)
27}
diff --git a/meta-selftest/classes/test-mkimage-wrapper.bbclass b/meta-selftest/classes/test-mkimage-wrapper.bbclass
deleted file mode 100644
index 7c98d7b71e..0000000000
--- a/meta-selftest/classes/test-mkimage-wrapper.bbclass
+++ /dev/null
@@ -1,19 +0,0 @@
1# Class to test UBOOT_MKIMAGE and UBOOT_MKIMAGE_SIGN
2# (in conjunction with kernel-fitimage.bbclass)
3#
4# SPDX-License-Identifier: MIT
5#
6
7UBOOT_MKIMAGE = "test_mkimage_wrapper"
8UBOOT_MKIMAGE_SIGN = "test_mkimage_signing_wrapper"
9
10test_mkimage_wrapper() {
11 echo "### uboot-mkimage wrapper message"
12 uboot-mkimage "$@"
13}
14
15test_mkimage_signing_wrapper() {
16 echo "### uboot-mkimage signing wrapper message"
17 uboot-mkimage "$@"
18}
19
diff --git a/meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc b/meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc
new file mode 100644
index 0000000000..7a1bfe101f
--- /dev/null
+++ b/meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc
@@ -0,0 +1,82 @@
1# Autogenerated with 'bitbake -c update_crates python3-guessing-game'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/autocfg/1.2.0 \
6 crate://crates.io/bitflags/1.3.2 \
7 crate://crates.io/cfg-if/1.0.0 \
8 crate://crates.io/getrandom/0.2.14 \
9 crate://crates.io/indoc/1.0.9 \
10 crate://crates.io/libc/0.2.153 \
11 crate://crates.io/lock_api/0.4.11 \
12 crate://crates.io/memoffset/0.9.0 \
13 crate://crates.io/once_cell/1.19.0 \
14 crate://crates.io/parking_lot/0.12.1 \
15 crate://crates.io/parking_lot_core/0.9.9 \
16 crate://crates.io/ppv-lite86/0.2.17 \
17 crate://crates.io/proc-macro2/1.0.79 \
18 crate://crates.io/pyo3/0.19.2 \
19 crate://crates.io/pyo3-build-config/0.19.2 \
20 crate://crates.io/pyo3-ffi/0.19.2 \
21 crate://crates.io/pyo3-macros/0.19.2 \
22 crate://crates.io/pyo3-macros-backend/0.19.2 \
23 crate://crates.io/quote/1.0.35 \
24 crate://crates.io/rand/0.8.5 \
25 crate://crates.io/rand_chacha/0.3.1 \
26 crate://crates.io/rand_core/0.6.4 \
27 crate://crates.io/redox_syscall/0.4.1 \
28 crate://crates.io/scopeguard/1.2.0 \
29 crate://crates.io/smallvec/1.13.2 \
30 crate://crates.io/syn/1.0.109 \
31 crate://crates.io/target-lexicon/0.12.14 \
32 crate://crates.io/unicode-ident/1.0.12 \
33 crate://crates.io/unindent/0.1.11 \
34 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
35 crate://crates.io/windows-targets/0.48.5 \
36 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
37 crate://crates.io/windows_aarch64_msvc/0.48.5 \
38 crate://crates.io/windows_i686_gnu/0.48.5 \
39 crate://crates.io/windows_i686_msvc/0.48.5 \
40 crate://crates.io/windows_x86_64_gnu/0.48.5 \
41 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
42 crate://crates.io/windows_x86_64_msvc/0.48.5 \
43"
44
45SRC_URI[autocfg-1.2.0.sha256sum] = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80"
46SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
47SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
48SRC_URI[getrandom-0.2.14.sha256sum] = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c"
49SRC_URI[indoc-1.0.9.sha256sum] = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306"
50SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
51SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
52SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
53SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
54SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
55SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
56SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
57SRC_URI[proc-macro2-1.0.79.sha256sum] = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e"
58SRC_URI[pyo3-0.19.2.sha256sum] = "e681a6cfdc4adcc93b4d3cf993749a4552018ee0a9b65fc0ccfad74352c72a38"
59SRC_URI[pyo3-build-config-0.19.2.sha256sum] = "076c73d0bc438f7a4ef6fdd0c3bb4732149136abd952b110ac93e4edb13a6ba5"
60SRC_URI[pyo3-ffi-0.19.2.sha256sum] = "e53cee42e77ebe256066ba8aa77eff722b3bb91f3419177cf4cd0f304d3284d9"
61SRC_URI[pyo3-macros-0.19.2.sha256sum] = "dfeb4c99597e136528c6dd7d5e3de5434d1ceaf487436a3f03b2d56b6fc9efd1"
62SRC_URI[pyo3-macros-backend-0.19.2.sha256sum] = "947dc12175c254889edc0c02e399476c2f652b4b9ebd123aa655c224de259536"
63SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
64SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
65SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
66SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
67SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
68SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
69SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
70SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
71SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
72SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
73SRC_URI[unindent-0.1.11.sha256sum] = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c"
74SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
75SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
76SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
77SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
78SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
79SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
80SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
81SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
82SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
diff --git a/meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc.upgraded b/meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc.upgraded
new file mode 100644
index 0000000000..b19b42832d
--- /dev/null
+++ b/meta-selftest/recipes-devtools/python/python3-guessing-game-crates.inc.upgraded
@@ -0,0 +1,88 @@
1# Autogenerated with 'bitbake -c update_crates python3-guessing-game'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/autocfg/1.3.0 \
6 crate://crates.io/bitflags/2.5.0 \
7 crate://crates.io/cfg-if/1.0.0 \
8 crate://crates.io/getrandom/0.2.15 \
9 crate://crates.io/heck/0.4.1 \
10 crate://crates.io/indoc/2.0.5 \
11 crate://crates.io/libc/0.2.155 \
12 crate://crates.io/lock_api/0.4.12 \
13 crate://crates.io/memoffset/0.9.1 \
14 crate://crates.io/once_cell/1.19.0 \
15 crate://crates.io/parking_lot/0.12.3 \
16 crate://crates.io/parking_lot_core/0.9.10 \
17 crate://crates.io/portable-atomic/1.6.0 \
18 crate://crates.io/ppv-lite86/0.2.17 \
19 crate://crates.io/proc-macro2/1.0.84 \
20 crate://crates.io/pyo3/0.21.2 \
21 crate://crates.io/pyo3-build-config/0.21.2 \
22 crate://crates.io/pyo3-ffi/0.21.2 \
23 crate://crates.io/pyo3-macros/0.21.2 \
24 crate://crates.io/pyo3-macros-backend/0.21.2 \
25 crate://crates.io/quote/1.0.36 \
26 crate://crates.io/rand/0.8.5 \
27 crate://crates.io/rand_chacha/0.3.1 \
28 crate://crates.io/rand_core/0.6.4 \
29 crate://crates.io/redox_syscall/0.5.1 \
30 crate://crates.io/scopeguard/1.2.0 \
31 crate://crates.io/smallvec/1.13.2 \
32 crate://crates.io/syn/2.0.66 \
33 crate://crates.io/target-lexicon/0.12.14 \
34 crate://crates.io/unicode-ident/1.0.12 \
35 crate://crates.io/unindent/0.2.3 \
36 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
37 crate://crates.io/windows-targets/0.52.5 \
38 crate://crates.io/windows_aarch64_gnullvm/0.52.5 \
39 crate://crates.io/windows_aarch64_msvc/0.52.5 \
40 crate://crates.io/windows_i686_gnu/0.52.5 \
41 crate://crates.io/windows_i686_gnullvm/0.52.5 \
42 crate://crates.io/windows_i686_msvc/0.52.5 \
43 crate://crates.io/windows_x86_64_gnu/0.52.5 \
44 crate://crates.io/windows_x86_64_gnullvm/0.52.5 \
45 crate://crates.io/windows_x86_64_msvc/0.52.5 \
46"
47
48SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
49SRC_URI[bitflags-2.5.0.sha256sum] = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
50SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
51SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
52SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
53SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
54SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
55SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
56SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
57SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
58SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
59SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
60SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
61SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
62SRC_URI[proc-macro2-1.0.84.sha256sum] = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6"
63SRC_URI[pyo3-0.21.2.sha256sum] = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8"
64SRC_URI[pyo3-build-config-0.21.2.sha256sum] = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50"
65SRC_URI[pyo3-ffi-0.21.2.sha256sum] = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403"
66SRC_URI[pyo3-macros-0.21.2.sha256sum] = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c"
67SRC_URI[pyo3-macros-backend-0.21.2.sha256sum] = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c"
68SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
69SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
70SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
71SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
72SRC_URI[redox_syscall-0.5.1.sha256sum] = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
73SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
74SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
75SRC_URI[syn-2.0.66.sha256sum] = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
76SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
77SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
78SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
79SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
80SRC_URI[windows-targets-0.52.5.sha256sum] = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
81SRC_URI[windows_aarch64_gnullvm-0.52.5.sha256sum] = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
82SRC_URI[windows_aarch64_msvc-0.52.5.sha256sum] = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
83SRC_URI[windows_i686_gnu-0.52.5.sha256sum] = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
84SRC_URI[windows_i686_gnullvm-0.52.5.sha256sum] = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
85SRC_URI[windows_i686_msvc-0.52.5.sha256sum] = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
86SRC_URI[windows_x86_64_gnu-0.52.5.sha256sum] = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
87SRC_URI[windows_x86_64_gnullvm-0.52.5.sha256sum] = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
88SRC_URI[windows_x86_64_msvc-0.52.5.sha256sum] = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
diff --git a/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb b/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb
new file mode 100644
index 0000000000..50246a8a11
--- /dev/null
+++ b/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb
@@ -0,0 +1,19 @@
1SUMMARY = "The guessing game from The Rust Book using pyo3."
2DESCRIPTION = "Wrap a version of the guessing game from The Rust Book \
3to run in Python using pyo3."
4HOMEPAGE = "https://www.maturin.rs/tutorial"
5SECTION = "devel/python"
6LICENSE = "MIT & Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \
8 file://LICENSE-MIT;md5=85fd3b67069cff784d98ebfc7d5c0797"
9
10SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=main"
11
12PV = "0.1.0"
13SRCREV = "469c9e2230ca4fa9e391c94be6e697733e769500"
14
15S = "${WORKDIR}/git"
16
17inherit python_maturin cargo-update-recipe-crates
18
19require ${BPN}-crates.inc
diff --git a/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded b/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
new file mode 100644
index 0000000000..f60a62718d
--- /dev/null
+++ b/meta-selftest/recipes-devtools/python/python3-guessing-game_git.bb.upgraded
@@ -0,0 +1,19 @@
1SUMMARY = "The guessing game from The Rust Book using pyo3."
2DESCRIPTION = "Wrap a version of the guessing game from The Rust Book \
3to run in Python using pyo3."
4HOMEPAGE = "https://www.maturin.rs/tutorial"
5SECTION = "devel/python"
6LICENSE = "MIT & Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \
8 file://LICENSE-MIT;md5=85fd3b67069cff784d98ebfc7d5c0797"
9
10SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=main"
11
12PV = "0.2.0"
13SRCREV = "40cf004c2772ffa20ea803fa3be1528a75be3e98"
14
15S = "${WORKDIR}/git"
16
17inherit python_maturin cargo-update-recipe-crates
18
19require ${BPN}-crates.inc
diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
index 7569ccef7b..96be6f4a61 100644
--- a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
+++ b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
@@ -4,7 +4,7 @@ Date: Wed, 27 Dec 2023 09:55:48 +0000
4Subject: [PATCH] Greet "OE-Core" 4Subject: [PATCH] Greet "OE-Core"
5 5
6Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> 6Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
7Upstream-Status: Inappropriate 7Upstream-Status: Inappropriate [Test artefact]
8--- 8---
9 src/main.rs | 2 +- 9 src/main.rs | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb b/meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb
new file mode 100644
index 0000000000..f9fc59a494
--- /dev/null
+++ b/meta-selftest/recipes-test/bbclasses/systemd-and-sysvinit.bb
@@ -0,0 +1,17 @@
1LICENSE = "MIT"
2
3inherit allarch systemd update-rc.d
4
5do_install() {
6 install -d ${D}${systemd_system_unitdir}
7 touch ${D}${systemd_system_unitdir}/${BPN}.service
8
9 install -d ${D}${INIT_D_DIR}
10 touch ${D}${INIT_D_DIR}/${BPN}
11}
12
13INITSCRIPT_NAME = "${BPN}"
14
15SYSTEMD_SERVICE:${PN} = "${BPN}.service"
16
17EXCLUDE_FROM_WORLD="1"
diff --git a/meta-selftest/recipes-test/bbclasses/systemd-only.bb b/meta-selftest/recipes-test/bbclasses/systemd-only.bb
new file mode 100644
index 0000000000..590a27b9cb
--- /dev/null
+++ b/meta-selftest/recipes-test/bbclasses/systemd-only.bb
@@ -0,0 +1,12 @@
1LICENSE = "MIT"
2
3inherit allarch systemd
4
5do_install() {
6 install -d ${D}${systemd_system_unitdir}
7 touch ${D}${systemd_system_unitdir}/${BPN}.service
8}
9
10SYSTEMD_SERVICE:${PN} = "${BPN}.service"
11
12EXCLUDE_FROM_WORLD="1"
diff --git a/meta-selftest/recipes-test/cpp/cpp-example.inc b/meta-selftest/recipes-test/cpp/cpp-example.inc
index ad374be9d0..41aaa7219a 100644
--- a/meta-selftest/recipes-test/cpp/cpp-example.inc
+++ b/meta-selftest/recipes-test/cpp/cpp-example.inc
@@ -19,6 +19,7 @@ SRC_URI = "\
19 file://run-ptest \ 19 file://run-ptest \
20" 20"
21 21
22S = "${WORKDIR}" 22S = "${WORKDIR}/sources"
23UNPACKDIR = "${S}"
23 24
24inherit ptest 25inherit ptest
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch
index e33a2753f9..17ed5a54f1 100644
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch
+++ b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemuarm/arm.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Test artefact]
2
1--- source.orig 2020-10-06 13:26:10.792688630 +0100 3--- source.orig 2020-10-06 13:26:10.792688630 +0100
2+++ source 2020-10-06 13:26:18.853424694 +0100 4+++ source 2020-10-06 13:26:18.853424694 +0100
3@@ -1 +1 @@ 5@@ -1 +1 @@
diff --git a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch
index 1a0a175fa8..0af5ebbfaf 100644
--- a/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch
+++ b/meta-selftest/recipes-test/devtool/devtool-patch-overrides/qemux86/x86.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Test artefact]
2
1--- source.orig 2020-10-06 13:26:10.792688630 +0100 3--- source.orig 2020-10-06 13:26:10.792688630 +0100
2+++ source 2020-10-06 13:26:18.853424694 +0100 4+++ source 2020-10-06 13:26:18.853424694 +0100
3@@ -1 +1 @@ 5@@ -1 +1 @@
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch
index 96ea0eb4e3..bc1ca4bc4a 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch
+++ b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Test artefact]
2
1diff --git a/ignored b/ignored 3diff --git a/ignored b/ignored
2index a579759..e3d7b43 100644 4index a579759..e3d7b43 100644
3--- a/ignored 5--- a/ignored
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected
index 68ec6d9875..8ead9ee1ce 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected
+++ b/meta-selftest/recipes-test/devtool/devtool-test-ignored/devtool-test-ignored.patch.expected
@@ -3,6 +3,7 @@ From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 28 May 2020 01:32:31 +0200 3Date: Thu, 28 May 2020 01:32:31 +0200
4Subject: [PATCH] meta-selftest: add test of .gitignore in tarball 4Subject: [PATCH] meta-selftest: add test of .gitignore in tarball
5 5
6Upstream-Status: Inappropriate [Test artefact]
6--- 7---
7 ignored | 2 +- 8 ignored | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-) 9 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb b/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
index e767619879..446c51f09b 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
+++ b/meta-selftest/recipes-test/devtool/devtool-test-localonly.bb
@@ -6,5 +6,8 @@ SRC_URI = "file://file1 \
6 6
7SRC_URI:append:class-native = " file://file3" 7SRC_URI:append:class-native = " file://file3"
8 8
9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
11
9EXCLUDE_FROM_WORLD = "1" 12EXCLUDE_FROM_WORLD = "1"
10BBCLASSEXTEND = "native" 13BBCLASSEXTEND = "native"
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch
index 6aaf409ebc..2b7088e367 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch
+++ b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Test artefact]
2
1diff --git a/patch-me b/patch-me 3diff --git a/patch-me b/patch-me
2index a20b29a..5e35d1b 100644 4index a20b29a..5e35d1b 100644
3--- a/patch-me 5--- a/patch-me
diff --git a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected
index 1bf25a61d0..52b0df74ce 100644
--- a/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected
+++ b/meta-selftest/recipes-test/devtool/devtool-test-long-filename/0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch.expected
@@ -3,6 +3,7 @@ From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 28 May 2020 02:03:39 +0200 3Date: Thu, 28 May 2020 02:03:39 +0200
4Subject: [PATCH] meta-selftest: add test for .patch file with long filename 4Subject: [PATCH] meta-selftest: add test for .patch file with long filename
5 5
6Upstream-Status: Inappropriate [Test artefact]
6--- 7---
7 patch-me | 2 +- 8 patch-me | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-) 9 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch
index 4ea3d74f0f..db66a284b7 100644
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch
+++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch
@@ -4,6 +4,8 @@ Date: Wed, 24 Feb 2016 17:43:03 +1300
4Subject: [PATCH] Add a note line to the quick reference 4Subject: [PATCH] Add a note line to the quick reference
5 5
6A test patch so we have a file to move around. 6A test patch so we have a file to move around.
7
8Upstream-Status: Inappropriate [Test artefact]
7--- 9---
8 doc/quickref.1.in | 1 + 10 doc/quickref.1.in | 1 +
9 1 file changed, 1 insertion(+) 11 1 file changed, 1 insertion(+)
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch
index c4f3f12666..5159652f69 100644
--- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch
+++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/backported.patch
@@ -4,6 +4,8 @@ Date: Mon Nov 18 18:43:15 2019 +0100
4 4
5 Backport of the NEWS file from version 1.6.0 5 Backport of the NEWS file from version 1.6.0
6 6
7Upstream-Status: Inappropriate [Test artefact]
8
7diff --git a/doc/NEWS b/doc/NEWS 9diff --git a/doc/NEWS b/doc/NEWS
8index 69793fc..fd49b1c 100644 10index 69793fc..fd49b1c 100644
9--- a/doc/NEWS 11--- a/doc/NEWS
diff --git a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
index a897966608..11928dc95a 100644
--- a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
+++ b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
@@ -6,12 +6,15 @@ DEPENDS = "libgfortran"
6 6
7SRC_URI = "file://hello.f95" 7SRC_URI = "file://hello.f95"
8 8
9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
11
9# These set flags that Fortran doesn't support 12# These set flags that Fortran doesn't support
10SECURITY_CFLAGS = "" 13SECURITY_CFLAGS = ""
11SECURITY_LDFLAGS = "" 14SECURITY_LDFLAGS = ""
12 15
13do_compile() { 16do_compile() {
14 ${FC} ${LDFLAGS} ${UNPACKDIR}/hello.f95 -o ${B}/fortran-hello 17 ${FC} ${LDFLAGS} hello.f95 -o ${B}/fortran-hello
15} 18}
16 19
17do_install() { 20do_install() {
diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch
index bccda17ee9..4f8b745995 100644
--- a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch
+++ b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Test artefact]
2
1diff --git a/Makefile.am b/Makefile.am 3diff --git a/Makefile.am b/Makefile.am
2index 432a9b4..bbf7c74 100644 4index 432a9b4..bbf7c74 100644
3--- a/Makefile.am 5--- a/Makefile.am
diff --git a/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch b/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
index b1d5eab2b8..7df224e5c8 100644
--- a/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
+++ b/meta-selftest/recipes-test/man-db/files/0001-Test-patch-here.patch
@@ -4,6 +4,8 @@ Date: Fri, 9 Feb 2018 17:37:48 +0200
4Subject: [PATCH] Test patch here! 4Subject: [PATCH] Test patch here!
5 5
6This is an invalid patch used by oe-selftest 6This is an invalid patch used by oe-selftest
7
8Upstream-Status: Inappropriate [Test artefact]
7--- 9---
8 README | 1 + 10 README | 1 +
9 1 file changed, 1 insertion(+) 11 1 file changed, 1 insertion(+)
diff --git a/meta-selftest/recipes-test/recipetool/files/add-file.patch b/meta-selftest/recipes-test/recipetool/files/add-file.patch
index bdc99c94f0..cb43cc629d 100644
--- a/meta-selftest/recipes-test/recipetool/files/add-file.patch
+++ b/meta-selftest/recipes-test/recipetool/files/add-file.patch
@@ -1,3 +1,5 @@
1Upstream-Status: Inappropriate [Test artefact]
2
1diff --git a/file2 b/file2 3diff --git a/file2 b/file2
2new file mode 100644 4new file mode 100644
3index 0000000..049b42e 5index 0000000..049b42e
diff --git a/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb b/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
index ad9f475d15..8b314d396e 100644
--- a/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
+++ b/meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
@@ -3,9 +3,12 @@ SUMMARY = "Test recipe for recipeutils.patch_recipe()"
3require recipeutils-test.inc 3require recipeutils-test.inc
4 4
5LICENSE = "HPND" 5LICENSE = "HPND"
6LIC_FILES_CHKSUM = "file://${WORKDIR}/somefile;md5=d41d8cd98f00b204e9800998ecf8427e" 6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/somefile;md5=d41d8cd98f00b204e9800998ecf8427e"
7DEPENDS += "zlib" 7DEPENDS += "zlib"
8 8
9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
11
9BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"
10 13
11SRC_URI += "file://somefile" 14SRC_URI += "file://somefile"
diff --git a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
index aa6ce0c2a0..a0eeb4f223 100644
--- a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
+++ b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
@@ -5,7 +5,8 @@ LICENSE = "MIT"
5 5
6DEPENDS += "coreutils-native" 6DEPENDS += "coreutils-native"
7 7
8S = "${WORKDIR}" 8S = "${WORKDIR}/sources"
9UNPACKDIR = "${S}"
9 10
10inherit useradd allarch 11inherit useradd allarch
11 12
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
index 49c3fe827a..64fea8ed95 100644
--- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
+++ b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb
@@ -6,10 +6,14 @@ SRC_URI = "file://hello.c \
6 file://gdb.sh \ 6 file://gdb.sh \
7" 7"
8 8
9S = "${WORKDIR}" 9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
10 11
11do_compile () { 12do_compile () {
12 ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS} 13 ${CC} hello.c -o hello1 ${CFLAGS} ${LDFLAGS}
14
15 ${CC} hello.c -c -o hello.o ${CFLAGS}
16 ${AR} rcs libhello.a hello.o
13} 17}
14 18
15do_install () { 19do_install () {
@@ -22,9 +26,19 @@ do_install () {
22 ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello3 26 ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello3
23 ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello4 27 ln ${D}${bindir}/hello1 ${D}${libexecdir}/hello4
24 28
29 # We need so many hardlink copies to look for specific race conditions
30 install -d ${D}${libdir}
31 install -m 0644 libhello.a ${D}${libdir}
32 for num in `seq 1 100` ; do
33 ln ${D}${libdir}/libhello.a ${D}${libdir}/libhello-${num}.a
34 done
35
25 dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M 36 dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M
26} 37}
27 38
28RDEPENDS:${PN}-gdb += "gdb" 39RDEPENDS:${PN}-gdb += "gdb"
29PACKAGES =+ "${PN}-gdb" 40PACKAGES =+ "${PN}-gdb"
30FILES:${PN}-gdb = "${bindir}/gdb.sh" 41FILES:${PN}-gdb = "${bindir}/gdb.sh"
42
43PACKAGE_STRIP_STATIC = "1"
44PACKAGE_DEBUG_STATIC_SPLIT = "1"
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
index 547587bef4..2dc352d479 100644
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
5 5
6SRC_URI = "file://helloworld.c" 6SRC_URI = "file://helloworld.c"
7 7
8S = "${WORKDIR}" 8S = "${WORKDIR}/sources"
9UNPACKDIR = "${S}"
9 10
10do_compile() { 11do_compile() {
11 ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld 12 ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
@@ -16,4 +17,4 @@ do_install() {
16 install -m 0755 helloworld ${D}${bindir} 17 install -m 0755 helloworld ${D}${bindir}
17} 18}
18 19
19BBCLASSEXTEND = "native nativesdk" \ No newline at end of file 20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-selftest/recipes-test/selftest-users/acreategroup.bb b/meta-selftest/recipes-test/selftest-users/acreategroup.bb
index 66ed5695a2..7805182d48 100644
--- a/meta-selftest/recipes-test/selftest-users/acreategroup.bb
+++ b/meta-selftest/recipes-test/selftest-users/acreategroup.bb
@@ -3,7 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
3 3
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6S = "${WORKDIR}" 6S = "${WORKDIR}/sources"
7UNPACKDIR = "${S}"
7 8
8EXCLUDE_FROM_WORLD="1" 9EXCLUDE_FROM_WORLD="1"
9 10
diff --git a/meta-selftest/recipes-test/selftest-users/bcreategroup.bb b/meta-selftest/recipes-test/selftest-users/bcreategroup.bb
index c4844dd0da..b15c07d7b2 100644
--- a/meta-selftest/recipes-test/selftest-users/bcreategroup.bb
+++ b/meta-selftest/recipes-test/selftest-users/bcreategroup.bb
@@ -7,7 +7,8 @@ LICENSE = "MIT"
7 7
8USERADD_DEPENDS = "acreategroup ccreategroup" 8USERADD_DEPENDS = "acreategroup ccreategroup"
9 9
10S = "${WORKDIR}" 10S = "${WORKDIR}/sources"
11UNPACKDIR = "${S}"
11 12
12EXCLUDE_FROM_WORLD="1" 13EXCLUDE_FROM_WORLD="1"
13 14
diff --git a/meta-selftest/recipes-test/selftest-users/ccreategroup.bb b/meta-selftest/recipes-test/selftest-users/ccreategroup.bb
index 021b1ebbf7..ff2da1c039 100644
--- a/meta-selftest/recipes-test/selftest-users/ccreategroup.bb
+++ b/meta-selftest/recipes-test/selftest-users/ccreategroup.bb
@@ -5,7 +5,8 @@ LICENSE = "MIT"
5 5
6USERADD_DEPENDS = "acreategroup" 6USERADD_DEPENDS = "acreategroup"
7 7
8S = "${WORKDIR}" 8S = "${WORKDIR}/sources"
9UNPACKDIR = "${S}"
9 10
10EXCLUDE_FROM_WORLD="1" 11EXCLUDE_FROM_WORLD="1"
11 12
diff --git a/meta-selftest/recipes-test/selftest-users/creategroup1.bb b/meta-selftest/recipes-test/selftest-users/creategroup1.bb
index afd23ed1ee..4ab278f589 100644
--- a/meta-selftest/recipes-test/selftest-users/creategroup1.bb
+++ b/meta-selftest/recipes-test/selftest-users/creategroup1.bb
@@ -3,7 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
3 3
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6S = "${WORKDIR}" 6S = "${WORKDIR}/sources"
7UNPACKDIR = "${S}"
7 8
8inherit useradd allarch 9inherit useradd allarch
9 10
diff --git a/meta-selftest/recipes-test/selftest-users/creategroup2.bb b/meta-selftest/recipes-test/selftest-users/creategroup2.bb
index f776f43aed..179aba9bfc 100644
--- a/meta-selftest/recipes-test/selftest-users/creategroup2.bb
+++ b/meta-selftest/recipes-test/selftest-users/creategroup2.bb
@@ -5,7 +5,8 @@ LICENSE = "MIT"
5 5
6USERADD_DEPENDS = "creategroup1" 6USERADD_DEPENDS = "creategroup1"
7 7
8S = "${WORKDIR}" 8S = "${WORKDIR}/sources"
9UNPACKDIR = "${S}"
9 10
10inherit useradd allarch 11inherit useradd allarch
11 12
diff --git a/meta-selftest/recipes-test/selftest-users/dcreategroup.bb b/meta-selftest/recipes-test/selftest-users/dcreategroup.bb
index b96ca92a16..ab0a529669 100644
--- a/meta-selftest/recipes-test/selftest-users/dcreategroup.bb
+++ b/meta-selftest/recipes-test/selftest-users/dcreategroup.bb
@@ -5,7 +5,8 @@ LICENSE = "MIT"
5 5
6USERADD_DEPENDS = "bcreategroup" 6USERADD_DEPENDS = "bcreategroup"
7 7
8S = "${WORKDIR}" 8S = "${WORKDIR}/sources"
9UNPACKDIR = "${S}"
9 10
10EXCLUDE_FROM_WORLD="1" 11EXCLUDE_FROM_WORLD="1"
11 12
diff --git a/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb b/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
index 99e04a80b3..2863541010 100644
--- a/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
+++ b/meta-selftest/recipes-test/selftest-users/useraddbadtask.bb
@@ -5,7 +5,8 @@ LICENSE = "MIT"
5 5
6DEPENDS:append = "coreutils-native" 6DEPENDS:append = "coreutils-native"
7 7
8S = "${WORKDIR}" 8S = "${WORKDIR}/sources"
9UNPACKDIR = "${S}"
9 10
10inherit useradd allarch 11inherit useradd allarch
11 12
diff --git a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
index 5e8761ab55..db674d0efc 100644
--- a/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
+++ b/meta-selftest/recipes-test/testrpm/testrpm_0.0.1.bb
@@ -6,6 +6,9 @@ LICENSE = "MIT"
6SRC_URI = "file://testfile.txt" 6SRC_URI = "file://testfile.txt"
7INHIBIT_DEFAULT_DEPS = "1" 7INHIBIT_DEFAULT_DEPS = "1"
8 8
9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
11
9do_compile(){ 12do_compile(){
10 echo "testdata" > ${B}/"file with [brackets].txt" 13 echo "testdata" > ${B}/"file with [brackets].txt"
11 echo "testdata" > ${B}/"file with (parentheses).txt" 14 echo "testdata" > ${B}/"file with (parentheses).txt"