xref: /OK3568_Linux_fs/yocto/meta-poky/recipes-core/tiny-init/tiny-init.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Poky-tiny init"
2DESCRIPTION = "Basic init system for poky-tiny"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6PR = "r2"
7
8RDEPENDS:${PN} = "busybox"
9
10SRC_URI = "file://init \
11	   file://rc.local.sample \
12	  "
13
14S = "${WORKDIR}"
15
16do_configure() {
17	:
18}
19
20do_compile() {
21	:
22}
23
24do_install() {
25	install -d ${D}${sysconfdir}
26	install -m 0755 ${WORKDIR}/init ${D}
27	install -m 0755 ${WORKDIR}/rc.local.sample ${D}${sysconfdir}
28}
29
30FILES:${PN} = "/init ${sysconfdir}/rc.local.sample"
31RCONFLICTS:${PN} = "systemd"
32