summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-07-13 22:08:32 -0700
committerKhem Raj <raj.khem@gmail.com>2025-07-14 00:00:35 -0700
commitd8259c30aaf4392a97ddcc7b9727d3097e8826f0 (patch)
tree74a51b3f03c8ebdc7debb7ca27f6749785eb0cf7
parentad761f7808c00d234bd13171ae5c53ddd966bf28 (diff)
downloadmeta-openembedded-d8259c30aaf4392a97ddcc7b9727d3097e8826f0.tar.gz
e2tools: Do not hardcode 'git' as part of path in ptests
Before S was not inside UNPACKDIR and default path for recipes using git fetcher would be in WORKDIR/git but it has changed now recently after S moved inside UNPACKDIR the name of source folder is no more 'git', use wildcard to find the files to delete Fixes ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: /usr/lib/e2tools/ptest/e2tools-0.1.2/.git/hooks/update.sample contained in package e2tools-ptest requires /usr/bin/sh, but no providers found in RDEPENDS:e2tools-ptest? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb7
1 files changed, 4 insertions, 3 deletions
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 a60fbec821..38fa8b439e 100644
--- a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
+++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb
@@ -35,10 +35,11 @@ do_install_ptest() {
35 cp -r ../build "${D}${PTEST_PATH}" 35 cp -r ../build "${D}${PTEST_PATH}"
36 cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build" 36 cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build"
37 cp -r "${S}" "${D}${PTEST_PATH}" 37 cp -r "${S}" "${D}${PTEST_PATH}"
38 rm -rf ${D}${PTEST_PATH}/build/config.log ${D}${PTEST_PATH}/build/autom4te.cache \ 38 rm -rf ${D}${PTEST_PATH}/build/config.log \
39 ${D}${PTEST_PATH}/git/.git ${D}${PTEST_PATH}/git/autom4te.cache 39 ${D}${PTEST_PATH}/build/autom4te.cache \
40 ${D}${PTEST_PATH}/*/.git ${D}${PTEST_PATH}/*/.github \
41 ${D}${PTEST_PATH}/*/autom4te.cache
40 sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status 42 sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status
41 sed -i -e 's;${STAGING_DIR_NATIVE};;g' ${D}${PTEST_PATH}/${BP}/autom4te.cache/*
42} 43}
43 44
44RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl" 45RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl"