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>
This commit is contained in:
Jeremy Puhlman
2020-03-11 15:25:43 -07:00
committed by Richard Purdie
parent 163ee315a5
commit 9b341f229d

View File

@@ -68,6 +68,12 @@ do_install(){
# Copy POSIX test suite into ${D}/opt/ltp/testcases by manual
cp -r testcases/open_posix_testsuite ${D}/opt/ltp/testcases
# Makefile were configured in the build system
find ${D}${prefix} -name Makefile | xargs -n 1 sed -i \
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*--sysroot=[^ "]*@@g'
}
RDEPENDS_${PN} = "\