tiny-init.bb 591 B

1234567891011121314151617181920212223242526272829303132
  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}/sources"
  11. UNPACKDIR = "${S}"
  12. do_configure() {
  13. :
  14. }
  15. do_compile() {
  16. :
  17. }
  18. do_install() {
  19. install -d ${D}${sysconfdir}
  20. install -m 0755 ${S}/init ${D}
  21. install -m 0755 ${S}/rc.local.sample ${D}${sysconfdir}
  22. }
  23. FILES:${PN} = "/init ${sysconfdir}/rc.local.sample"
  24. RCONFLICTS:${PN} = "systemd"