diff mbox series

[scarthgap] util-linux: use ${B} instead of ${WORKDIR}/build, to fix building under devtool

Message ID 20250923191521.1297729-1-chris.laplante@agilent.com
State New
Headers show
Series [scarthgap] util-linux: use ${B} instead of ${WORKDIR}/build, to fix building under devtool | expand

Commit Message

chris.laplante@agilent.com Sept. 23, 2025, 7:15 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

This change already exists on master, but it was made as part of the
larger migration to ${UNPACKDIR} and is not cherry-pickable.

See: d73595df696 (recipes: Update WORKDIR references to UNPACKDIR)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 meta/recipes-core/util-linux/util-linux_2.39.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/util-linux/util-linux_2.39.3.bb b/meta/recipes-core/util-linux/util-linux_2.39.3.bb
index 79ddf2d115d..12c504e0a29 100644
--- a/meta/recipes-core/util-linux/util-linux_2.39.3.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.39.3.bb
@@ -329,7 +329,7 @@  do_install_ptest() {
     cp ${S}/tests/*.sh ${D}${PTEST_PATH}/tests/
     cp -pR ${S}/tests/expected ${D}${PTEST_PATH}/tests/expected
     cp -pR ${S}/tests/ts ${D}${PTEST_PATH}/tests/
-    cp ${WORKDIR}/build/config.h ${D}${PTEST_PATH}
+    cp ${B}/config.h ${D}${PTEST_PATH}
 
     sed -i 's|@base_sbindir@|${base_sbindir}|g' ${D}${PTEST_PATH}/run-ptest