Skip to contentSkip to conversation

gzip_1.8.bb: improve reproducibility

PATCH New Juro Bystricky 1 participant 1 message Sep 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gzip_1.8.bb: improve reproducibility

Remove build host references from gzip-ptest package.

---
 meta/recipes-extended/gzip/gzip_1.8.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-extended/gzip/gzip_1.8.bb +4 -0
index a0dec14..d093207 100644
@@ -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
 }
 
Signature · 1 line
2.7.4