diff mbox series

[meta-filesystems] e2tools: Fix ptest runs after S moved into UNPACKDIR

Message ID 20250723055842.3877849-1-raj.khem@gmail.com
State New
Headers show
Series [meta-filesystems] e2tools: Fix ptest runs after S moved into UNPACKDIR | expand

Commit Message

Khem Raj July 23, 2025, 5:58 a.m. UTC
Adjust for new paths

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
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 38fa8b439e..219735acd1 100644
--- a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
+++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
@@ -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
 }