Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Poky-tiny init" |
| 2 | DESCRIPTION = "Basic init system for poky-tiny" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 5 | |
| 6 | PR = "r2" |
| 7 | |
| 8 | RDEPENDS_${PN} = "busybox" |
| 9 | |
| 10 | SRC_URI = "file://init \ |
| 11 | file://rc.local.sample \ |
| 12 | " |
| 13 | |
| 14 | S = "${WORKDIR}" |
| 15 | |
| 16 | do_configure() { |
| 17 | : |
| 18 | } |
| 19 | |
| 20 | do_compile() { |
| 21 | : |
| 22 | } |
| 23 | |
| 24 | do_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 | |
| 30 | FILES_${PN} = "/init ${sysconfdir}/rc.local.sample" |