initscripts-swupdate.bb 498 B

123456789101112131415161718192021222324
  1. SUMMARY = "Different startup scripts"
  2. SECTION = "base"
  3. PR = "r0"
  4. LICENSE = "MIT"
  5. LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
  6. SRC_URI = "file://rcS.swupdate \
  7. "
  8. S = "${WORKDIR}"
  9. do_install () {
  10. install -d ${D}/${sysconfdir}
  11. install -d ${D}/${sysconfdir}/init.d
  12. rm -f ${D}${sysconfdir}/init.d/rcS
  13. install -m 755 ${S}/rcS.swupdate ${D}${sysconfdir}/init.d
  14. }
  15. PACKAGES = "${PN}"
  16. FILES_${PN} = "/"
  17. PACKAGE_ARCH = "${MACHINE_ARCH}"
  18. CONFFILES_${PN} = ""