summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-09-20 10:27:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-22 17:14:43 +0100
commit3c9fec29a8151a669950e2c8e7835a8602efa664 (patch)
tree1925edaf1553defc52f6aab2e02c4b9f649e8a7a
parent6e7f9c158e26d4b60479b2e88d87b02443a07cb4 (diff)
downloadopenembedded-core-contrib-3c9fec29a8151a669950e2c8e7835a8602efa664.tar.gz
openembedded-core-contrib-3c9fec29a8151a669950e2c8e7835a8602efa664.tar.bz2
openembedded-core-contrib-3c9fec29a8151a669950e2c8e7835a8602efa664.zip
gzip_1.8.bb: improve reproducibility
Remove build host references from gzip-ptest package. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/gzip/gzip_1.8.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/gzip/gzip_1.8.bb b/meta/recipes-extended/gzip/gzip_1.8.bb
index a0dec143db..d0932071c9 100644
--- a/meta/recipes-extended/gzip/gzip_1.8.bb
+++ b/meta/recipes-extended/gzip/gzip_1.8.bb
@@ -27,6 +27,10 @@ do_install_ptest() {
-e 's/^AWK = ..*/AWK = awk/' \
-e 's/^srcdir = ..*/srcdir = \./' \
-e 's/^Makefile: ..*/Makefile: /' \
+ -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ -e 's:${HOSTTOOLS_DIR}/::g' \
+ -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
${B}/tests/Makefile > ${D}${PTEST_PATH}/src/tests/Makefile
}