diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-06-06 14:01:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-07 21:21:55 +0100 |
commit | 20c30045d05687abaab441f45e4e67e962ff97a4 (patch) | |
tree | ab03a3bde17135181fe9da2ca41f870a77841f13 | |
parent | 2ace644daa16e7ad7e2f19610bd9a6b06e621a3e (diff) | |
download | poky-20c30045d05687abaab441f45e4e67e962ff97a4.tar.gz |
ltp: upgrade 20220121 -> 20220527
Disable stack protection as newly added kvm tests won't build with it.
(From OE-Core rev: f231bc2c28226776f0990ec65aa5f95e89021218)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/security_flags.inc | 1 | ||||
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch | 28 | ||||
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20220527.bb (renamed from meta/recipes-extended/ltp/ltp_20220121.bb) | 3 |
3 files changed, 2 insertions, 30 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 8374cb8544..2972f05b4e 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc | |||
@@ -61,6 +61,7 @@ TARGET_LDFLAGS:append:class-cross-canadian = " ${SECURITY_LDFLAGS}" | |||
61 | SECURITY_STACK_PROTECTOR:pn-gcc-runtime = "" | 61 | SECURITY_STACK_PROTECTOR:pn-gcc-runtime = "" |
62 | SECURITY_STACK_PROTECTOR:pn-glibc = "" | 62 | SECURITY_STACK_PROTECTOR:pn-glibc = "" |
63 | SECURITY_STACK_PROTECTOR:pn-glibc-testsuite = "" | 63 | SECURITY_STACK_PROTECTOR:pn-glibc-testsuite = "" |
64 | SECURITY_STACK_PROTECTOR:pn-ltp = "" | ||
64 | # All xorg module drivers need to be linked this way as well and are | 65 | # All xorg module drivers need to be linked this way as well and are |
65 | # handled in recipes-graphics/xorg-driver/xorg-driver-common.inc | 66 | # handled in recipes-graphics/xorg-driver/xorg-driver-common.inc |
66 | SECURITY_LDFLAGS:pn-xserver-xorg = "${SECURITY_X_LDFLAGS}" | 67 | SECURITY_LDFLAGS:pn-xserver-xorg = "${SECURITY_X_LDFLAGS}" |
diff --git a/meta/recipes-extended/ltp/ltp/0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch b/meta/recipes-extended/ltp/ltp/0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch deleted file mode 100644 index e8d9f212a9..0000000000 --- a/meta/recipes-extended/ltp/ltp/0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 4aad23f208cc7725cd61bbe5aaadb9994c794cd0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Wed, 26 Jan 2022 20:58:46 +0100 | ||
4 | Subject: [PATCH] metadata/parse.sh: sort filelist for reproducibility | ||
5 | |||
6 | find does not guarantee the order of the files. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/907] | ||
9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
10 | --- | ||
11 | metadata/parse.sh | 2 +- | ||
12 | |||
13 | diff --git a/metadata/parse.sh b/metadata/parse.sh | ||
14 | index b43d024c68..1811665bfe 100755 | ||
15 | --- a/metadata/parse.sh | ||
16 | +++ b/metadata/parse.sh | ||
17 | @@ -29,7 +29,7 @@ echo ' "tests": {' | ||
18 | |||
19 | first=1 | ||
20 | |||
21 | -for test in `find testcases/ -name '*.c'`; do | ||
22 | +for test in `find testcases/ -name '*.c'|sort`; do | ||
23 | a=$($top_builddir/metadata/metaparse -Iinclude -Itestcases/kernel/syscalls/utils/ "$test") | ||
24 | if [ -n "$a" ]; then | ||
25 | if [ -z "$first" ]; then | ||
26 | -- | ||
27 | 2.20.1 | ||
28 | |||
diff --git a/meta/recipes-extended/ltp/ltp_20220121.bb b/meta/recipes-extended/ltp/ltp_20220527.bb index 8a13dcf9d0..b136c83860 100644 --- a/meta/recipes-extended/ltp/ltp_20220121.bb +++ b/meta/recipes-extended/ltp/ltp_20220527.bb | |||
@@ -22,11 +22,10 @@ CFLAGS:append:x86-64 = " -fomit-frame-pointer" | |||
22 | 22 | ||
23 | CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" | 23 | CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" |
24 | CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" | 24 | CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" |
25 | SRCREV = "b0561ad8d9ee9fe1244b5385e941eb65a21e91a1" | 25 | SRCREV = "6f88e0f6f1d6eb12c48c902f50f47ecbd3b0f18a" |
26 | 26 | ||
27 | SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ | 27 | SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ |
28 | file://0001-Remove-OOM-tests-from-runtest-mm.patch \ | 28 | file://0001-Remove-OOM-tests-from-runtest-mm.patch \ |
29 | file://0001-metadata-parse.sh-sort-filelist-for-reproducibility.patch \ | ||
30 | file://disable_hanging_tests.patch \ | 29 | file://disable_hanging_tests.patch \ |
31 | " | 30 | " |
32 | 31 | ||