[PATCH] meta-poky: set S from UNPACKDIR in recipes that use only local files
Alexander Kanavin <[email protected]> Mon, 16 Jun 2025 11:50:59 +0200
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
From: Alexander Kanavin <[email protected]> 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. Signed-off-by: Alexander Kanavin <[email protected]> --- 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 586596259b8..3a774fecc41 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() { : -- 2.39.5