[OE-core] [PATCH] gzip_1.8.bb: improve reproducibility
Juro Bystricky
juro.bystricky at intel.com
Wed Sep 20 17:27:17 UTC 2017
Remove build host references from gzip-ptest package.
Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
meta/recipes-extended/gzip/gzip_1.8.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/gzip/gzip_1.8.bb b/meta/recipes-extended/gzip/gzip_1.8.bb
index a0dec14..d093207 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
}
--
2.7.4
More information about the Openembedded-core
mailing list