summaryrefslogtreecommitdiffstats
path: root/meta-poky
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-13 15:59:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-21 12:09:05 +0100
commit62c517203682b61a4a78d8127606c924b51f9558 (patch)
treeb8ede1c6f13da7c8f8f8b8fa02438a7c2f6715d6 /meta-poky
parent2f3dafe8aafd4b52b152a1abab6b9412de621147 (diff)
downloadpoky-62c517203682b61a4a78d8127606c924b51f9558.tar.gz
tiny-init: Stop using S == WORKDIR
(From meta-yocto rev: 48fbd32e201667de886b9d5c14807d3958152482) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
-rw-r--r--meta-poky/recipes-core/tiny-init/tiny-init.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-poky/recipes-core/tiny-init/tiny-init.bb b/meta-poky/recipes-core/tiny-init/tiny-init.bb
index 1de4f5e715..586596259b 100644
--- a/meta-poky/recipes-core/tiny-init/tiny-init.bb
+++ b/meta-poky/recipes-core/tiny-init/tiny-init.bb
@@ -11,7 +11,8 @@ SRC_URI = "file://init \
11 file://rc.local.sample \ 11 file://rc.local.sample \
12 " 12 "
13 13
14S = "${WORKDIR}" 14S = "${WORKDIR}/sources"
15UNPACKDIR = "${S}"
15 16
16do_configure() { 17do_configure() {
17 : 18 :
@@ -23,8 +24,8 @@ do_compile() {
23 24
24do_install() { 25do_install() {
25 install -d ${D}${sysconfdir} 26 install -d ${D}${sysconfdir}
26 install -m 0755 ${WORKDIR}/init ${D} 27 install -m 0755 ${S}/init ${D}
27 install -m 0755 ${WORKDIR}/rc.local.sample ${D}${sysconfdir} 28 install -m 0755 ${S}/rc.local.sample ${D}${sysconfdir}
28} 29}
29 30
30FILES:${PN} = "/init ${sysconfdir}/rc.local.sample" 31FILES:${PN} = "/init ${sysconfdir}/rc.local.sample"