e2tools: Fix contains reference to TMPDIR [buildpaths] error

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alper Ak 2025-06-21 11:52:47 +03:00 committed by Khem Raj
parent 8fda134fda
commit df6af9a16e
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"