summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-09-20 10:27:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-22 17:14:43 +0100
commit1f380ee7bce648b0041b61a62e36987e9caee307 (patch)
tree86896f3bd846f77f7e238e79aeff0677249f4bfd
parent3c9fec29a8151a669950e2c8e7835a8602efa664 (diff)
downloadopenembedded-core-contrib-1f380ee7bce648b0041b61a62e36987e9caee307.tar.gz
openembedded-core-contrib-1f380ee7bce648b0041b61a62e36987e9caee307.tar.bz2
openembedded-core-contrib-1f380ee7bce648b0041b61a62e36987e9caee307.zip
strace_4.18.bb: improve reproducibility
Remove build host references from strace-ptest package. Also removed some unneeded timestaps. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/strace/strace_4.18.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/strace/strace_4.18.bb b/meta/recipes-devtools/strace/strace_4.18.bb
index 4251b6ca90..5b2891ad93 100644
--- a/meta/recipes-devtools/strace/strace_4.18.bb
+++ b/meta/recipes-devtools/strace/strace_4.18.bb
@@ -43,7 +43,16 @@ do_compile_ptest() {
do_install_ptest() {
oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
- sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
+ sed -i -e '/^src/s/strace.*[1-9]/ptest/' \
+ -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
+ -e 's:${RECIPE_SYSROOT}::g' \
+ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
+ -e '/^DEB_CHANGELOGTIME/d' \
+ -e '/^RPM_CHANGELOGTIME/d' \
+ ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
}
BBCLASSEXTEND = "native"