diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-09-25 16:33:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-07 23:20:40 +0100 |
commit | d3520dd72f875af82bf4963a952783df668aadc7 (patch) | |
tree | 7bcb1755586146c331322049666728526cfee3ba /meta/recipes-core/libxml | |
parent | 6172b0131fbfc3a43b7b6d98819058f1e2ce2a92 (diff) | |
download | poky-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/recipes-core/libxml')
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.4.bb | 11 |
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 107539b50d..15d5e36290 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 | ||
94 | do_install_append_class-native () { | 105 | do_install_append_class-native () { |