From b079439d077470b25ef0c4db37edc663f13688c7 Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Tue, 23 Sep 2025 15:15:21 -0400 Subject: [PATCH] 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) (From OE-Core rev: 378f87f087651bacdb6efc6b98168bc6ba865070) Signed-off-by: Chris Laplante Signed-off-by: Steve Sakoman --- meta/recipes-core/util-linux/util-linux_2.39.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 79ddf2d115..12c504e0a2 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