poky/meta-poky/recipes-core/tiny-init/tiny-init.bb
Alexander Kanavin 842ef50329 meta-poky: set S from UNPACKDIR in recipes that use only local files
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.

(From meta-yocto rev: 9fb052b0f19bdd4e1b1625865c41ab8a35d7b669)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:29:47 +01:00

32 lines
566 B
BlitzBasic

SUMMARY = "Poky-tiny init"
DESCRIPTION = "Basic init system for poky-tiny"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r2"
RDEPENDS:${PN} = "busybox"
SRC_URI = "file://init \
file://rc.local.sample \
"
S = "${UNPACKDIR}"
do_configure() {
:
}
do_compile() {
:
}
do_install() {
install -d ${D}${sysconfdir}
install -m 0755 ${S}/init ${D}
install -m 0755 ${S}/rc.local.sample ${D}${sysconfdir}
}
FILES:${PN} = "/init ${sysconfdir}/rc.local.sample"
RCONFLICTS:${PN} = "systemd"