diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-09-20 10:27:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-22 17:15:30 +0100 |
commit | 55239f6f51f9391ac6cfe0474e3546c1aec8ff75 (patch) | |
tree | 72133dd2a516036de041e44ca2d07e1ab41dbdde /meta/recipes-devtools | |
parent | cad871b9ac22339e2d0566b3a7a52397a4c652c4 (diff) | |
download | poky-55239f6f51f9391ac6cfe0474e3546c1aec8ff75.tar.gz |
strace_4.18.bb: improve reproducibility
Remove build host references from strace-ptest package.
Also removed some unneeded timestaps.
(From OE-Core rev: 1f380ee7bce648b0041b61a62e36987e9caee307)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/strace/strace_4.18.bb | 11 |
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() { | |||
43 | 43 | ||
44 | do_install_ptest() { | 44 | do_install_ptest() { |
45 | oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} | 45 | oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR} |
46 | sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile | 46 | sed -i -e '/^src/s/strace.*[1-9]/ptest/' \ |
47 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
48 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
49 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
50 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
51 | -e 's:${RECIPE_SYSROOT}::g' \ | ||
52 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | ||
53 | -e '/^DEB_CHANGELOGTIME/d' \ | ||
54 | -e '/^RPM_CHANGELOGTIME/d' \ | ||
55 | ${D}/${PTEST_PATH}/${TESTDIR}/Makefile | ||
47 | } | 56 | } |
48 | 57 | ||
49 | BBCLASSEXTEND = "native" | 58 | BBCLASSEXTEND = "native" |