swupdate_git.bb 336 B

12345678910111213141516
  1. require swupdate.inc
  2. inherit update-rc.d
  3. # this is 2016.10-rc1
  4. SRCREV = "8abacd3613410002c0cd05a12e82d695d3e4bf6f"
  5. SRC_URI += "file://swupdate"
  6. do_install_append() {
  7. install -d ${D}${sysconfdir}/init.d
  8. install -m 755 ${WORKDIR}/swupdate ${D}${sysconfdir}/init.d
  9. }
  10. INITSCRIPT_NAME = "swupdate"
  11. INITSCRIPT_PARAMS = "defaults 70"