diff mbox series

[meta-filesystems] e2tools: Fix contains reference to TMPDIR [buildpaths] error

Message ID 20250621085247.1414378-1-alperyasinak1@gmail.com
State New
Headers show
Series [meta-filesystems] e2tools: Fix contains reference to TMPDIR [buildpaths] error | expand

Commit Message

Alper Ak June 21, 2025, 8:52 a.m. UTC
ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: File /usr/lib/e2tools/ptest/e2tools-0.1.2/autom4te.cache/requests in package e2tools-ptest contains reference to TMPDIR [buildpaths]
ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: File /usr/lib/e2tools/ptest/e2tools-0.1.2/autom4te.cache/traces.0 in package e2tools-ptest contains reference to TMPDIR [buildpaths]

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
---
 meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 40c4f56650..a60fbec821 100644
--- a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
+++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
@@ -38,6 +38,7 @@  do_install_ptest() {
     rm -rf ${D}${PTEST_PATH}/build/config.log ${D}${PTEST_PATH}/build/autom4te.cache \
         ${D}${PTEST_PATH}/git/.git ${D}${PTEST_PATH}/git/autom4te.cache
     sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status
+    sed -i -e 's;${STAGING_DIR_NATIVE};;g' ${D}${PTEST_PATH}/${BP}/autom4te.cache/*
 }
 
 RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl"