summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2020-03-11 15:25:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-12 22:49:28 +0000
commit9b341f229db1a19e2fad70c1f5b9c8d3ff38b3af (patch)
treeeeae4d7bed643ba602c4ffc00d1504ace04b37fd /meta/recipes-extended/ltp
parent163ee315a535c075c0e7e81f277e17b7bb72351a (diff)
downloadpoky-9b341f229db1a19e2fad70c1f5b9c8d3ff38b3af.tar.gz
ltp: fix reproducibilty issues
Man pages are copied in to the target filesystem from the configured build, which leaks paths in to the work directory (From OE-Core rev: c4f6b04450ef658d99c0d15f3ce9058c4a770152) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp')
-rw-r--r--meta/recipes-extended/ltp/ltp_20200120.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20200120.bb b/meta/recipes-extended/ltp/ltp_20200120.bb
index 5be9489a75..3e6cbc63f3 100644
--- a/meta/recipes-extended/ltp/ltp_20200120.bb
+++ b/meta/recipes-extended/ltp/ltp_20200120.bb
@@ -68,6 +68,12 @@ do_install(){
68 68
69 # Copy POSIX test suite into ${D}/opt/ltp/testcases by manual 69 # Copy POSIX test suite into ${D}/opt/ltp/testcases by manual
70 cp -r testcases/open_posix_testsuite ${D}/opt/ltp/testcases 70 cp -r testcases/open_posix_testsuite ${D}/opt/ltp/testcases
71
72 # Makefile were configured in the build system
73 find ${D}${prefix} -name Makefile | xargs -n 1 sed -i \
74 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
75 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
76 -e 's@[^ ]*--sysroot=[^ "]*@@g'
71} 77}
72 78
73RDEPENDS_${PN} = "\ 79RDEPENDS_${PN} = "\