swupdate_2016.07.bb 392 B

1234567891011121314151617
  1. require swupdate.inc
  2. inherit update-rc.d
  3. SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=git;tag=2016.07 \
  4. file://defconfig \
  5. file://swupdate \
  6. file://swupdate.service \
  7. "
  8. do_install_append() {
  9. install -d ${D}${sysconfdir}/init.d
  10. install -m 755 ${WORKDIR}/swupdate ${D}${sysconfdir}/init.d
  11. }
  12. INITSCRIPT_NAME = "swupdate"
  13. INITSCRIPT_PARAMS = "defaults 70"