[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7851/8267] strace_4.18.bb: improve reproducibility



commit 55239f6f51f9391ac6cfe0474e3546c1aec8ff75
Author: Juro Bystricky <juro bystricky intel com>
Date:   Wed Sep 20 10:27:59 2017 -0700

    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>

 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 4251b6c..5b2891a 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]