e2tools: Fix ptest runs after S moved into UNPACKDIR

Adjust for new paths

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-07-22 22:57:40 -07:00
parent 543dc3fa10
commit 714b3adc3a
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -34,11 +34,11 @@ do_install_ptest() {
rm -rf "${D}${PTEST_PATH}/*"
cp -r ../build "${D}${PTEST_PATH}"
cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build"
cp -r "${S}" "${D}${PTEST_PATH}"
cp -r "${UNPACKDIR}" "${D}${PTEST_PATH}/"
rm -rf ${D}${PTEST_PATH}/build/config.log \
${D}${PTEST_PATH}/build/autom4te.cache \
${D}${PTEST_PATH}/*/.git ${D}${PTEST_PATH}/*/.github \
${D}${PTEST_PATH}/*/autom4te.cache
${D}${PTEST_PATH}/*/*/.git ${D}${PTEST_PATH}/*/*/.github \
${D}${PTEST_PATH}/*/*/autom4te.cache
sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status
}