diff options
-rw-r--r-- | updater-ng/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/updater-ng/Makefile b/updater-ng/Makefile index 38057fe..c008452 100644 --- a/updater-ng/Makefile +++ b/updater-ng/Makefile @@ -20,7 +20,7 @@ include $(INCLUDE_DIR)/host-build.mk define Package/$(PKG_NAME) TITLE:=The next generation updater - DEPENDS:=+liblua +libevent2 +usign +libcurl +vixie-cron +ca-certificates + DEPENDS:=+liblua +libevent2 +usign +libcurl +vixie-cron +ca-certificates +libc endef define Package/$(PKG_NAME)/install @@ -30,9 +30,9 @@ define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/opkg-trans $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/pkgupdate $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pkgupdate/updater.sh $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pkgupdate/updater-unstuck.sh $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pkgupdate/updater-wipe.sh $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/updater/updater.sh $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/updater/updater-unstuck.sh $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/updater/updater-wipe.sh $(1)/usr/bin/ $(INSTALL_DIR) $(1)/etc/updater $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/pkgupdate/configs/entry.lua $(1)/etc/updater @@ -56,13 +56,10 @@ ifneq ($(PKG_BRANCH),) endif $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/pkgupdate/init $(1)/etc/init.d/updater + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/updater/init $(1)/etc/init.d/updater $(INSTALL_DIR) $(1)/etc/cron.d - $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/pkgupdate/cron $(1)/etc/cron.d/updater - - $(INSTALL_DIR) $(1)/etc/ssl - $(INSTALL_DATA) $(PKG_BUILD_DIR)/updater.pem $(1)/etc/ssl/updater.pem + $(INSTALL_CONF) $(PKG_BUILD_DIR)/src/updater/cron $(1)/etc/cron.d/updater endef define Package/$(PKG_NAME)/conffiles |