summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-11-25 14:56:31 -0800
committerKhem Raj <raj.khem@gmail.com>2025-11-25 14:59:17 -0800
commit0856c5613234c61d809b9c983bc45c750144ebd8 (patch)
treea8e6fffa518f8ff838ade572a7cde608a9fb157c
parenta51b5f454098db29ff515aba2e15744d7a35dfc5 (diff)
downloadmeta-openembedded-0856c5613234c61d809b9c983bc45c750144ebd8.tar.gz
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>
-rw-r--r--meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb16
1 files changed, 15 insertions, 1 deletions
diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
index 219735acd1..b7b925da0e 100644
--- a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
+++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
@@ -39,7 +39,21 @@ do_install_ptest() {
39 ${D}${PTEST_PATH}/build/autom4te.cache \ 39 ${D}${PTEST_PATH}/build/autom4te.cache \
40 ${D}${PTEST_PATH}/*/*/.git ${D}${PTEST_PATH}/*/*/.github \ 40 ${D}${PTEST_PATH}/*/*/.git ${D}${PTEST_PATH}/*/*/.github \
41 ${D}${PTEST_PATH}/*/*/autom4te.cache 41 ${D}${PTEST_PATH}/*/*/autom4te.cache
42 sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status 42 sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
43 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
44 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
45 -e 's@[^ ]*--sysroot=[^ "]*@@g' \
46 -e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \
47 -e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \
48 -e '/EXT2FS_CFLAGS/d' \
49 -e '/LDFLAGS/d' \
50 -e '/PKG_CONFIG_PATH/d' \
51 -e '/PKG_CONFIG_LIBDIR/d' \
52 -e 's@${S}@${PTEST_PATH}@g' \
53 -e 's@${B}@${PTEST_PATH}/build@g' \
54 -e 's@${HOSTTOOLS_DIR}@@g' \
55 -e 's@${RECIPE_SYSROOT}@@g' \
56 -i ${D}${PTEST_PATH}/build/config.status
43} 57}
44 58
45RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl" 59RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl"