Skip to contentSkip to conversation

e2tools: Fix ptest runs after S moved into UNPACKDIR

PATCH New Khem Raj 1 participant 1 message Jul 23, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 e2tools: Fix ptest runs after S moved into UNPACKDIR

Adjust for new paths

---
 meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb +3 -3
index 38fa8b439e..219735acd1 100644
@@ -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
 }