summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-29 00:10:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-30 12:37:02 +0100
commitc6d12254e9ea06629b2b48334b5db1a0f3d4b54b (patch)
tree98379c3c22e9c519c7f04f082ecdd39756669233 /meta/recipes-devtools/strace
parent08445c4c3cb76ed82c98ae672b8e891f64653cdc (diff)
downloadpoky-c6d12254e9ea06629b2b48334b5db1a0f3d4b54b.tar.gz
strace: Tweak ptest disk space management
If the test is successful, remove the log and exp files. This stops strace using around 600MB of disk space and running our ptest images out of space. (From OE-Core rev: ae94bffc6991efd6a6a74b2c129d3743b5fd1cd3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
-rw-r--r--meta/recipes-devtools/strace/strace/ptest-spacesave.patch19
-rw-r--r--meta/recipes-devtools/strace/strace_4.26.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
new file mode 100644
index 0000000000..3e32cc388c
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
@@ -0,0 +1,19 @@
1If the test is successful, remove the log and exp files. This stops strace
2using around 600MB of disk space and running our ptest images out of space.
3
4RP 2019/5/29
5
6Upstream-Status: Inappropriate [specific to OE image space issues]
7
8Index: strace-4.26/tests/gen_tests.sh
9===================================================================
10--- strace-4.26.orig/tests/gen_tests.sh
11+++ strace-4.26/tests/gen_tests.sh
12@@ -62,6 +62,7 @@ while read -r name arg0 args; do {
13 $hdr
14 . "\${srcdir=.}/init.sh"
15 run_strace_match_diff $arg0 $args
16+ rm -rf log exp
17 EOF
18 ;;
19
diff --git a/meta/recipes-devtools/strace/strace_4.26.bb b/meta/recipes-devtools/strace/strace_4.26.bb
index 24f92c99e5..3b61fc3eef 100644
--- a/meta/recipes-devtools/strace/strace_4.26.bb
+++ b/meta/recipes-devtools/strace/strace_4.26.bb
@@ -15,6 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ 15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ 16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
17 file://0001-mips-o32-fix-build.patch \ 17 file://0001-mips-o32-fix-build.patch \
18 file://ptest-spacesave.patch \
18 " 19 "
19SRC_URI[md5sum] = "daa51acc0c7c696221ec03cf0b30a7af" 20SRC_URI[md5sum] = "daa51acc0c7c696221ec03cf0b30a7af"
20SRC_URI[sha256sum] = "7c4d2ffeef4f7d1cdc71062ca78d1130eb52f947c2fca82f59f6a1183bfa1e1c" 21SRC_URI[sha256sum] = "7c4d2ffeef4f7d1cdc71062ca78d1130eb52f947c2fca82f59f6a1183bfa1e1c"