]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
util-linux: use ${B} instead of ${WORKDIR}/build, to fix building under devtool
authorChris Laplante <chris.laplante@agilent.com>
Tue, 23 Sep 2025 19:15:21 +0000 (15:15 -0400)
committerSteve Sakoman <steve@sakoman.com>
Wed, 24 Sep 2025 17:14:48 +0000 (10:14 -0700)
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/util-linux/util-linux_2.39.3.bb

index 79ddf2d115d4f743a2050d895d3a12aebace75f3..12c504e0a29bff91c869dcd84b72ac58c06b39db 100644 (file)
@@ -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