Skip to contentSkip to conversation

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

PATCH New Alexander Kanavin 1 participant 1 message Jun 16, 2025

lore
Share & tools
lore
#0 lore raw

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

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.

---
 meta-poky/recipes-core/tiny-init/tiny-init.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-poky/recipes-core/tiny-init/tiny-init.bb +1 -2
index 586596259b8..3a774fecc41 100644
@@ -11,8 +11,7 @@ SRC_URI = "file://init \
 	   file://rc.local.sample \
 	  "
 
-S = "${WORKDIR}/sources"
-UNPACKDIR = "${S}"
+S = "${UNPACKDIR}"
 
 do_configure() {
 	:
Signature · 1 line
2.39.5