tiny-init.bb 566 B

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