diff mbox series

[5/5] useradd-example: Fix S = WORKDIR reference

Message ID 20240523075818.2307756-5-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 50f78cb9de68cd4317f34321dfdb06d72ce5d3c6
Headers show
Series [1/5] usbinit: Drop recipe | expand

Commit Message

Richard Purdie May 23, 2024, 7:58 a.m. UTC
Update not to use S = WORKDIR after that was no longer allowed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta-skeleton/recipes-skeleton/useradd/useradd-example.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb b/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
index 8437a5a7745..b0d96e7f711 100644
--- a/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
+++ b/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
@@ -9,7 +9,8 @@  SRC_URI = "file://file1 \
            file://file3 \
            file://file4"
 
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
 
 PACKAGES =+ "${PN}-user3"