|
@@ -1,8 +1,8 @@
|
|
include $(TOPDIR)/rules.mk
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
PKG_NAME:=gluon-autoupdater
|
|
PKG_NAME:=gluon-autoupdater
|
|
-PKG_VERSION:=0.3.2.99
|
|
|
|
-PKG_RELEASE:=0.1
|
|
|
|
|
|
+PKG_VERSION:=0.1
|
|
|
|
+PKG_RELEASE:=1
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
|
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/package.mk
|
|
define Package/gluon-autoupdater
|
|
define Package/gluon-autoupdater
|
|
SECTION:=gluon
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
CATEGORY:=Gluon
|
|
- DEPENDS:=+ecdsautils +gluon-cron +gluon-release
|
|
|
|
|
|
+ DEPENDS:=+ecdsautils +gluon-cron +gluon-release +gluon-location
|
|
TITLE:=Automatically update firmware
|
|
TITLE:=Automatically update firmware
|
|
endef
|
|
endef
|
|
|
|
|
|
@@ -23,13 +23,13 @@ define Build/Configure
|
|
endef
|
|
endef
|
|
|
|
|
|
define Build/Compile
|
|
define Build/Compile
|
|
- $(GLUON_CONFIGURE) autoupdater.pl > $(PKG_BUILD_DIR)/autoupdater.sh
|
|
|
|
|
|
+ $(GLUON_CONFIGURE) invariant.pl > $(PKG_BUILD_DIR)/invariant.sh
|
|
endef
|
|
endef
|
|
|
|
|
|
define Package/gluon-autoupdater/install
|
|
define Package/gluon-autoupdater/install
|
|
$(CP) ./files/* $(1)/
|
|
$(CP) ./files/* $(1)/
|
|
- $(INSTALL_DIR) $(1)/lib/gluon/upgrade/autoupdater/initial
|
|
|
|
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/autoupdater.sh $(1)/lib/gluon/upgrade/autoupdater/initial/010-autoupdater
|
|
|
|
|
|
+ $(INSTALL_DIR) $(1)/lib/gluon/upgrade/autoupdater/invariant
|
|
|
|
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/invariant.sh $(1)/lib/gluon/upgrade/autoupdater/invariant/010-autoupdater
|
|
endef
|
|
endef
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-autoupdater))
|
|
$(eval $(call BuildPackage,gluon-autoupdater))
|