diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-13 15:59:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-21 12:09:05 +0100 |
commit | 62c517203682b61a4a78d8127606c924b51f9558 (patch) | |
tree | b8ede1c6f13da7c8f8f8b8fa02438a7c2f6715d6 /meta-poky | |
parent | 2f3dafe8aafd4b52b152a1abab6b9412de621147 (diff) | |
download | poky-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.bb | 7 |
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 | ||
14 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}/sources" |
15 | UNPACKDIR = "${S}" | ||
15 | 16 | ||
16 | do_configure() { | 17 | do_configure() { |
17 | : | 18 | : |
@@ -23,8 +24,8 @@ do_compile() { | |||
23 | 24 | ||
24 | do_install() { | 25 | do_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 | ||
30 | FILES:${PN} = "/init ${sysconfdir}/rc.local.sample" | 31 | FILES:${PN} = "/init ${sysconfdir}/rc.local.sample" |