diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glibc/glibc-version.inc | 2 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch | 2 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch | 2 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.41.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs | 2 | ||||
-rw-r--r-- | meta/recipes-core/meta/buildtools-docs-tarball.bb | 5 | ||||
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 21 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch | 11 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 3 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch | 50 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch (renamed from meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch) | 16 |
11 files changed, 24 insertions, 92 deletions
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index d84106fb95..2d31131e03 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | SRCBRANCH ?= "release/2.41/master" | 1 | SRCBRANCH ?= "release/2.41/master" |
2 | PV = "2.41+git" | 2 | PV = "2.41+git" |
3 | SRCREV_glibc ?= "5b4c4617016d28569106549dff6f9fec73eed5ce" | 3 | SRCREV_glibc ?= "0c76c951620f9e12df2a89b2c684878b55bb6795" |
4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" | 4 | SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" |
5 | 5 | ||
6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" | 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" |
diff --git a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch b/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch index 862c7b9086..b42b186418 100644 --- a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch +++ b/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch | |||
@@ -13,7 +13,7 @@ diff --git a/Makeconfig b/Makeconfig | |||
13 | index e35c5cfe4e..7a19c731c6 100644 | 13 | index e35c5cfe4e..7a19c731c6 100644 |
14 | --- a/Makeconfig | 14 | --- a/Makeconfig |
15 | +++ b/Makeconfig | 15 | +++ b/Makeconfig |
16 | @@ -1176,7 +1176,7 @@ endif | 16 | @@ -1172,7 +1172,7 @@ endif |
17 | 17 | ||
18 | # The assembler can generate debug information too. | 18 | # The assembler can generate debug information too. |
19 | ifndef ASFLAGS | 19 | ifndef ASFLAGS |
diff --git a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch index 71777d3f2c..50d80ed577 100644 --- a/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch +++ b/meta/recipes-core/glibc/glibc/0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch | |||
@@ -40,7 +40,7 @@ index 8a755293b3..22dafcaad1 100644 | |||
40 | # tests | 40 | # tests |
41 | 41 | ||
42 | # process_madvise requires CAP_SYS_ADMIN. | 42 | # process_madvise requires CAP_SYS_ADMIN. |
43 | @@ -277,9 +278,10 @@ tests-time64 += \ | 43 | @@ -282,9 +283,10 @@ tests-time64 += \ |
44 | tst-ntp_gettimex-time64 \ | 44 | tst-ntp_gettimex-time64 \ |
45 | tst-ppoll-time64 \ | 45 | tst-ppoll-time64 \ |
46 | tst-prctl-time64 \ | 46 | tst-prctl-time64 \ |
diff --git a/meta/recipes-core/glibc/glibc_2.41.bb b/meta/recipes-core/glibc/glibc_2.41.bb index eb6a674039..7771fac041 100644 --- a/meta/recipes-core/glibc/glibc_2.41.bb +++ b/meta/recipes-core/glibc/glibc_2.41.bb | |||
@@ -17,7 +17,7 @@ Allows for ASLR bypass so can bypass some hardening, not an exploit in itself, m | |||
17 | easier access for another. 'ASLR bypass itself is not a vulnerability.'" | 17 | easier access for another. 'ASLR bypass itself is not a vulnerability.'" |
18 | 18 | ||
19 | CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" | 19 | CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS" |
20 | CVE_STATUS_STABLE_BACKPORTS = "" | 20 | CVE_STATUS_STABLE_BACKPORTS = "CVE-2025-4802 CVE-2025-5702 CVE-2025-5745" |
21 | CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" | 21 | CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" |
22 | 22 | ||
23 | DEPENDS += "gperf-native bison-native" | 23 | DEPENDS += "gperf-native bison-native" |
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs b/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs index e67ee4c25d..30555aef55 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs +++ b/meta/recipes-core/initrdscripts/initramfs-framework/nfsrootfs | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | nfsrootfs_enabled() { | 3 | nfsrootfs_enabled() { |
4 | if [ ${bootparam_root} != "/dev/nfs" ] || [ -z ${bootparam_nfsroot} ]; then | 4 | if [ "${bootparam_root}" != "/dev/nfs" ] || [ -z ${bootparam_nfsroot} ]; then |
5 | return 1 | 5 | return 1 |
6 | fi | 6 | fi |
7 | return 0 | 7 | return 0 |
diff --git a/meta/recipes-core/meta/buildtools-docs-tarball.bb b/meta/recipes-core/meta/buildtools-docs-tarball.bb index b9ef68eb6d..98d47f7b71 100644 --- a/meta/recipes-core/meta/buildtools-docs-tarball.bb +++ b/meta/recipes-core/meta/buildtools-docs-tarball.bb | |||
@@ -7,6 +7,8 @@ LICENSE = "MIT" | |||
7 | # Add nativesdk equivalent of build-essentials | 7 | # Add nativesdk equivalent of build-essentials |
8 | TOOLCHAIN_HOST_TASK += "\ | 8 | TOOLCHAIN_HOST_TASK += "\ |
9 | nativesdk-python3-sphinx \ | 9 | nativesdk-python3-sphinx \ |
10 | nativesdk-python3-sphinx-argparse \ | ||
11 | nativesdk-python3-sphinx-copybutton \ | ||
10 | nativesdk-python3-sphinx-rtd-theme \ | 12 | nativesdk-python3-sphinx-rtd-theme \ |
11 | nativesdk-python3-pyyaml \ | 13 | nativesdk-python3-pyyaml \ |
12 | nativesdk-rsvg \ | 14 | nativesdk-rsvg \ |
@@ -16,4 +18,5 @@ TOOLCHAIN_OUTPUTNAME = "${SDK_ARCH}-buildtools-docs-nativesdk-standalone-${DISTR | |||
16 | 18 | ||
17 | SDK_TITLE = "Docs Build tools tarball" | 19 | SDK_TITLE = "Docs Build tools tarball" |
18 | 20 | ||
19 | TESTSDK_CASES = "buildtools-docs-cases" | 21 | # Directory that contains testcases |
22 | TESTSDK_CASE_DIRS = "buildtools-docs" \ No newline at end of file | ||
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 6fa6d93a3d..02117ab84d 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -124,22 +124,7 @@ TOOLCHAIN_NEED_CONFIGSITE_CACHE = "" | |||
124 | # The recipe doesn't need any default deps | 124 | # The recipe doesn't need any default deps |
125 | INHIBIT_DEFAULT_DEPS = "1" | 125 | INHIBIT_DEFAULT_DEPS = "1" |
126 | 126 | ||
127 | # Directory in testsdk that contains testcases | 127 | inherit testsdk |
128 | TESTSDK_CASES = "buildtools-cases" | ||
129 | 128 | ||
130 | # We have our own code, avoid deferred inherit | 129 | # Directory that contains testcases |
131 | SDK_CLASSES:remove = "testsdk" | 130 | TESTSDK_CASE_DIRS = "buildtools" \ No newline at end of file |
132 | |||
133 | python do_testsdk() { | ||
134 | import oeqa.sdk.testsdk | ||
135 | testsdk = oeqa.sdk.testsdk.TestSDK() | ||
136 | |||
137 | cases_path = os.path.join(os.path.abspath(os.path.dirname(oeqa.sdk.testsdk.__file__)), d.getVar("TESTSDK_CASES")) | ||
138 | testsdk.context_executor_class.default_cases = [cases_path,] | ||
139 | |||
140 | testsdk.run(d) | ||
141 | } | ||
142 | addtask testsdk | ||
143 | do_testsdk[nostamp] = "1" | ||
144 | do_testsdk[network] = "1" | ||
145 | do_testsdk[depends] += "xz-native:do_populate_sysroot" | ||
diff --git a/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch b/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch index f0aa3a0bd8..1443c5082b 100644 --- a/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch +++ b/meta/recipes-core/systemd/systemd/0015-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch | |||
@@ -15,8 +15,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | src/shared/base-filesystem.c | 1 + | 15 | src/shared/base-filesystem.c | 1 + |
16 | 2 files changed, 7 insertions(+) | 16 | 2 files changed, 7 insertions(+) |
17 | 17 | ||
18 | diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h | ||
19 | index e2cd8b4e35..f2fe489de7 100644 | ||
20 | --- a/src/basic/missing_syscall.h | 18 | --- a/src/basic/missing_syscall.h |
21 | +++ b/src/basic/missing_syscall.h | 19 | +++ b/src/basic/missing_syscall.h |
22 | @@ -20,6 +20,12 @@ | 20 | @@ -20,6 +20,12 @@ |
@@ -32,8 +30,6 @@ index e2cd8b4e35..f2fe489de7 100644 | |||
32 | #include "macro.h" | 30 | #include "macro.h" |
33 | #include "missing_keyctl.h" | 31 | #include "missing_keyctl.h" |
34 | #include "missing_sched.h" | 32 | #include "missing_sched.h" |
35 | diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c | ||
36 | index 389c77eee0..e3627c4603 100644 | ||
37 | --- a/src/shared/base-filesystem.c | 33 | --- a/src/shared/base-filesystem.c |
38 | +++ b/src/shared/base-filesystem.c | 34 | +++ b/src/shared/base-filesystem.c |
39 | @@ -20,6 +20,7 @@ | 35 | @@ -20,6 +20,7 @@ |
@@ -42,8 +38,5 @@ index 389c77eee0..e3627c4603 100644 | |||
42 | #include "user-util.h" | 38 | #include "user-util.h" |
43 | +#include "missing_syscall.h" | 39 | +#include "missing_syscall.h" |
44 | 40 | ||
45 | typedef struct BaseFilesystem { | 41 | typedef enum BaseFilesystemFlags { |
46 | const char *dir; /* directory or symlink to create */ | 42 | BASE_FILESYSTEM_IGNORE_ON_FAILURE = 1 << 0, |
47 | -- | ||
48 | 2.34.1 | ||
49 | |||
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 6611ec0fe7..111f29cb92 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -19,8 +19,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin | |||
19 | file://fcntl-lock.c \ | 19 | file://fcntl-lock.c \ |
20 | file://0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch \ | 20 | file://0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch \ |
21 | file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ | 21 | file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ |
22 | file://0001-test_sysinfo.c-print-out-SIGRTMIN.patch \ | 22 | file://0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch \ |
23 | file://0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch \ | ||
24 | " | 23 | " |
25 | 24 | ||
26 | SRC_URI[sha256sum] = "81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6" | 25 | SRC_URI[sha256sum] = "81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6" |
diff --git a/meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch b/meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch deleted file mode 100644 index ee9f220842..0000000000 --- a/meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From 50774e34fee0cd528b195a863bcd4e3a04fbfc4b Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Wed, 4 Jun 2025 10:52:18 +0800 | ||
4 | Subject: [PATCH 1/2] test_sysinfo.c: print out SIGRTMIN | ||
5 | |||
6 | This will be used by ts/kill/decode. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/util-linux/util-linux/pull/3605] | ||
9 | |||
10 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
11 | --- | ||
12 | tests/helpers/test_sysinfo.c | 8 ++++++++ | ||
13 | 1 file changed, 8 insertions(+) | ||
14 | |||
15 | diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c | ||
16 | index 1559d471f..3a791e7f1 100644 | ||
17 | --- a/tests/helpers/test_sysinfo.c | ||
18 | +++ b/tests/helpers/test_sysinfo.c | ||
19 | @@ -27,6 +27,7 @@ | ||
20 | #include <errno.h> | ||
21 | #include <time.h> | ||
22 | #include <sys/ioctl.h> | ||
23 | +#include <signal.h> | ||
24 | |||
25 | #include "c.h" | ||
26 | |||
27 | @@ -116,6 +117,12 @@ static int hlp_ulong_max32(void) | ||
28 | return 0; | ||
29 | } | ||
30 | |||
31 | +static int hlp_sigrtmin(void) | ||
32 | +{ | ||
33 | + printf("%d\n", SIGRTMIN); | ||
34 | + return 0; | ||
35 | +} | ||
36 | + | ||
37 | static int hlp_wcsspn_ok(void) | ||
38 | { | ||
39 | printf("%d\n", wcsspn(L"FOO", L"F") == 1); | ||
40 | @@ -229,6 +236,7 @@ static const mntHlpfnc hlps[] = | ||
41 | { "ULONG_MAX", hlp_ulong_max }, | ||
42 | { "ULONG_MAX32",hlp_ulong_max32 }, | ||
43 | { "UINT64_MAX", hlp_u64_max }, | ||
44 | + { "SIGRTMIN", hlp_sigrtmin }, | ||
45 | { "byte-order", hlp_endianness }, | ||
46 | { "wcsspn-ok", hlp_wcsspn_ok }, | ||
47 | { "enotty-ok", hlp_enotty_ok }, | ||
48 | -- | ||
49 | 2.34.1 | ||
50 | |||
diff --git a/meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch b/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch index 5a00c9037a..f4e2f9e745 100644 --- a/meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch +++ b/meta/recipes-core/util-linux/util-linux/0001-ts-kill-decode-use-RTMIN-from-kill-L-instead-of-hard.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 9848b0d8c90d9a24275bf402f6d76e97f62b3ba4 Mon Sep 17 00:00:00 2001 | 1 | From c5d5e8873029d170fcab38a6fbd5d5a355574b9f Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Wed, 4 Jun 2025 16:27:19 +0800 | 3 | Date: Wed, 4 Jun 2025 16:27:19 +0800 |
4 | Subject: [PATCH 2/2] ts/kill/decode: use SIGRTMIN from test_sysinfo instead of | 4 | Subject: [PATCH] ts/kill/decode: use RTMIN from 'kill -L' instead of |
5 | hardcoding 34 | 5 | hardcoding 34 |
6 | 6 | ||
7 | glibc uses 34 as the value of SIGRTMIN: | 7 | glibc uses 34 as the value of SIGRTMIN: |
@@ -16,9 +16,11 @@ With the hardcoded 34, test case fails with the following difference: | |||
16 | -Ignored: HUP QUIT TRAP PIPE ALRM | 16 | -Ignored: HUP QUIT TRAP PIPE ALRM |
17 | +Ignored: HUP QUIT TRAP PIPE ALRM 34 | 17 | +Ignored: HUP QUIT TRAP PIPE ALRM 34 |
18 | 18 | ||
19 | Use SIGRTMIN got from test_sysinfo to fix this issue. | 19 | Extract the value of RTMIN from 'kill -L' to avoid such hardcoding. |
20 | 20 | ||
21 | Upstream-Status: Submitted [https://github.com/util-linux/util-linux/pull/3605] | 21 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
22 | |||
23 | Upstream-Status: Backport [https://github.com/util-linux/util-linux/commit/c5d5e8873029d170fcab38a6fbd5d5a355574b9f] | ||
22 | 24 | ||
23 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 25 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
24 | --- | 26 | --- |
@@ -26,15 +28,15 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
26 | 1 file changed, 7 insertions(+), 2 deletions(-) | 28 | 1 file changed, 7 insertions(+), 2 deletions(-) |
27 | 29 | ||
28 | diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode | 30 | diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode |
29 | index 03bc25ff6..dd34aacef 100755 | 31 | index 57149899e..524b4e5e2 100755 |
30 | --- a/tests/ts/kill/decode | 32 | --- a/tests/ts/kill/decode |
31 | +++ b/tests/ts/kill/decode | 33 | +++ b/tests/ts/kill/decode |
32 | @@ -48,14 +48,19 @@ ACK= | 34 | @@ -53,14 +53,19 @@ ACK= |
33 | # Sending one more USR1 is for making the signal pending state. | 35 | # Sending one more USR1 is for making the signal pending state. |
34 | "$TS_CMD_KILL" -USR1 "$PID" | 36 | "$TS_CMD_KILL" -USR1 "$PID" |
35 | "$TS_CMD_KILL" -d "$PID" | { | 37 | "$TS_CMD_KILL" -d "$PID" | { |
36 | - if [[ $("$TS_CMD_KILL" --list=34) == RT0 ]]; then | 38 | - if [[ $("$TS_CMD_KILL" --list=34) == RT0 ]]; then |
37 | + SIGRTMIN=$($TS_HELPER_SYSINFO SIGRTMIN) | 39 | + SIGRTMIN=$("$TS_CMD_KILL" -L | grep -o '[0-9]\+ RTMIN' | cut -d " " -f 1) |
38 | + if [[ $("$TS_CMD_KILL" --list=$SIGRTMIN) == RT0 ]]; then | 40 | + if [[ $("$TS_CMD_KILL" --list=$SIGRTMIN) == RT0 ]]; then |
39 | # See man signal(7). | 41 | # See man signal(7). |
40 | # The Linux kernel supports a range of 33 different real-time signals, | 42 | # The Linux kernel supports a range of 33 different real-time signals, |