mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00

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>
32 lines
566 B
BlitzBasic
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"
|