From 842ef50329e584aa023e9e6309726cef1e8cbc2d Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 16 Jun 2025 11:50:59 +0200 Subject: [PATCH] meta-poky: set S from UNPACKDIR in recipes that use only local files There is no need to have two assignments; also setting S from UNPACKDIR (and not vice versa) is more logical as unpack task comes first, and tasks that come after unpack use S to access unpack results. (From meta-yocto rev: 9fb052b0f19bdd4e1b1625865c41ab8a35d7b669) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta-poky/recipes-core/tiny-init/tiny-init.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-poky/recipes-core/tiny-init/tiny-init.bb b/meta-poky/recipes-core/tiny-init/tiny-init.bb index 586596259b..3a774fecc4 100644 --- a/meta-poky/recipes-core/tiny-init/tiny-init.bb +++ b/meta-poky/recipes-core/tiny-init/tiny-init.bb @@ -11,8 +11,7 @@ SRC_URI = "file://init \ file://rc.local.sample \ " -S = "${WORKDIR}/sources" -UNPACKDIR = "${S}" +S = "${UNPACKDIR}" do_configure() { :