diff mbox series

meta-poky: set S from UNPACKDIR in recipes that use only local files

Message ID 20250616095059.2919634-1-alex.kanavin@gmail.com (mailing list archive)
State New
Headers show
Series meta-poky: set S from UNPACKDIR in recipes that use only local files | expand

Commit Message

Alexander Kanavin June 16, 2025, 9:50 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

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 <alex@linutronix.de>
---
 meta-poky/recipes-core/tiny-init/tiny-init.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

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() {
 	: