summaryrefslogtreecommitdiffstats
path: root/meta-yocto/recipes-core/tiny-init/tiny-init.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto/recipes-core/tiny-init/tiny-init.bb')
-rw-r--r--meta-yocto/recipes-core/tiny-init/tiny-init.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-yocto/recipes-core/tiny-init/tiny-init.bb b/meta-yocto/recipes-core/tiny-init/tiny-init.bb
new file mode 100644
index 0000000..5d90051
--- /dev/null
+++ b/meta-yocto/recipes-core/tiny-init/tiny-init.bb
@@ -0,0 +1,28 @@
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
14do_configure() {
15 :
16}
17
18do_compile() {
19 :
20}
21
22do_install() {
23 install -d ${D}${sysconfdir}
24 install -m 0755 ${WORKDIR}/init ${D}
25 install -m 0755 ${WORKDIR}/rc.local.sample ${D}${sysconfdir}
26}
27
28FILES_${PN} = "/init ${sysconfdir}/rc.local.sample"