From: Chris Laplante Date: Tue, 23 Sep 2025 19:15:21 +0000 (-0400) Subject: util-linux: use ${B} instead of ${WORKDIR}/build, to fix building under devtool X-Git-Tag: 2024-04.13-scarthgap~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=378f87f087651bacdb6efc6b98168bc6ba865070;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git util-linux: use ${B} instead of ${WORKDIR}/build, to fix building under devtool 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 Signed-off-by: Steve Sakoman --- 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