mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
e2tools: Fix buildpaths in ptests
Currently the path checks are escaping QA check for buildpath detection but config.status still has paths which show up in reproduciblity failures, comparing build in path A and build in path B, content of config.status don't end up same. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a51b5f4540
commit
0856c56132
|
|
@ -39,7 +39,21 @@ do_install_ptest() {
|
||||||
${D}${PTEST_PATH}/build/autom4te.cache \
|
${D}${PTEST_PATH}/build/autom4te.cache \
|
||||||
${D}${PTEST_PATH}/*/*/.git ${D}${PTEST_PATH}/*/*/.github \
|
${D}${PTEST_PATH}/*/*/.git ${D}${PTEST_PATH}/*/*/.github \
|
||||||
${D}${PTEST_PATH}/*/*/autom4te.cache
|
${D}${PTEST_PATH}/*/*/autom4te.cache
|
||||||
sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status
|
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
|
||||||
|
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
|
||||||
|
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
|
||||||
|
-e 's@[^ ]*--sysroot=[^ "]*@@g' \
|
||||||
|
-e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \
|
||||||
|
-e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \
|
||||||
|
-e '/EXT2FS_CFLAGS/d' \
|
||||||
|
-e '/LDFLAGS/d' \
|
||||||
|
-e '/PKG_CONFIG_PATH/d' \
|
||||||
|
-e '/PKG_CONFIG_LIBDIR/d' \
|
||||||
|
-e 's@${S}@${PTEST_PATH}@g' \
|
||||||
|
-e 's@${B}@${PTEST_PATH}/build@g' \
|
||||||
|
-e 's@${HOSTTOOLS_DIR}@@g' \
|
||||||
|
-e 's@${RECIPE_SYSROOT}@@g' \
|
||||||
|
-i ${D}${PTEST_PATH}/build/config.status
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl"
|
RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user