summaryrefslogtreecommitdiffstats
path: root/meta-poky/recipes-core/tiny-init/tiny-init.bb
blob: 4d4e34dc8b232e35851b72f60baa7424ce14f4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 = "${WORKDIR}"

do_configure() {
	:
}

do_compile() {
	:
}

do_install() {
	install -d ${D}${sysconfdir}
	install -m 0755 ${WORKDIR}/init ${D}
	install -m 0755 ${WORKDIR}/rc.local.sample ${D}${sysconfdir}
}

FILES_${PN} = "/init ${sysconfdir}/rc.local.sample"