Переглянути джерело

swupdate_2016.07: missing append by install

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 9 роки тому
батько
коміт
fcb9111454
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      recipes-support/swupdate/swupdate_2016.07.bb

+ 5 - 0
recipes-support/swupdate/swupdate_2016.07.bb

@@ -8,5 +8,10 @@ SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=git;tag=2016.07 \
      file://swupdate.service \
      "
 
+do_install_append() {
+  install -d ${D}${sysconfdir}/init.d
+  install -m 755 ${WORKDIR}/swupdate ${D}${sysconfdir}/init.d
+}
+
 INITSCRIPT_NAME = "swupdate"
 INITSCRIPT_PARAMS = "defaults 70"