tiny-init.bb 547 B

123456789101112131415161718192021222324252627282930
  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. PR = "r2"
  6. RDEPENDS_${PN} = "busybox"
  7. SRC_URI = "file://init \
  8. file://rc.local.sample \
  9. "
  10. S = "${WORKDIR}"
  11. do_configure() {
  12. :
  13. }
  14. do_compile() {
  15. :
  16. }
  17. do_install() {
  18. install -d ${D}${sysconfdir}
  19. install -m 0755 ${WORKDIR}/init ${D}
  20. install -m 0755 ${WORKDIR}/rc.local.sample ${D}${sysconfdir}
  21. }
  22. FILES_${PN} = "/init ${sysconfdir}/rc.local.sample"