diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-03-11 15:25:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 22:49:28 +0000 |
commit | 9b341f229db1a19e2fad70c1f5b9c8d3ff38b3af (patch) | |
tree | eeae4d7bed643ba602c4ffc00d1504ace04b37fd | |
parent | 163ee315a535c075c0e7e81f277e17b7bb72351a (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20200120.bb | 6 |
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 | ||
73 | RDEPENDS_${PN} = "\ | 79 | RDEPENDS_${PN} = "\ |