summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-09-25 23:33:44 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-07 22:20:40 (GMT)
commitd3520dd72f875af82bf4963a952783df668aadc7 (patch)
tree7bcb1755586146c331322049666728526cfee3ba /meta
parent6172b0131fbfc3a43b7b6d98819058f1e2ce2a92 (diff)
downloadpoky-d3520dd72f875af82bf4963a952783df668aadc7.tar.gz
libxml2-ptest: improve reproducibility
Remove various build host references from libxml-ptest package. [YOCTO #11997] (From OE-Core rev: c2b53ec8d15b97da73353623c0cfe287f74992bf) 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')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.4.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index 107539b..15d5e36 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -89,6 +89,17 @@ do_install_ptest () {
89 grep -lrZ '#!/usr/bin/python' ${D}${PTEST_PATH}/python | 89 grep -lrZ '#!/usr/bin/python' ${D}${PTEST_PATH}/python |
90 xargs -0 sed -i -e 's|/usr/bin/python|${USRBINPATH}/${PYTHON_PN}|' 90 xargs -0 sed -i -e 's|/usr/bin/python|${USRBINPATH}/${PYTHON_PN}|'
91 fi 91 fi
92 #Remove build host references from various Makefiles
93 find "${D}${PTEST_PATH}" -name Makefile -type f -exec \
94 sed -i \
95 -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
96 -e 's|${DEBUG_PREFIX_MAP}||g' \
97 -e 's:${HOSTTOOLS_DIR}/::g' \
98 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
99 -e 's:${RECIPE_SYSROOT}::g' \
100 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
101 -e '/^RELDATE/d' \
102 {} +
92} 103}
93 104
94do_install_append_class-native () { 105do_install_append_class-native () {