auc: update to new server API

This updates auc to use the new API of the sysupgrade image server.
Package version updates now need to be evaluated locally.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2021-03-09 21:20:55 +00:00
parent 8494a658e6
commit 85ba80592b
No known key found for this signature in database
GPG Key ID: 5A8F39C31C3217CA
2 changed files with 808 additions and 260 deletions

View File

@ -5,8 +5,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=auc
PKG_VERSION:=0.1.4
PKG_RELEASE:=2
PKG_VERSION:=0.1.5
PKG_RELEASE:=$(AUTORELEASE)
PKG_LICENSE:=GPL-3.0
include $(INCLUDE_DIR)/package.mk
@ -17,18 +17,15 @@ define Package/auc
CATEGORY:=Base system
TITLE:=Attended sysUpgrade CLI (EXPERIMENTAL)
DEPENDS:=+attendedsysupgrade-common +libblobmsg-json +libubox +libubus \
+libuci +libuclient +rpcd-mod-rpcsys +ucert
+libuci +libuclient +rpcd-mod-rpcsys
endef
define Package/auc/description
CLI client for attended-sysupgrade
endef
# set to 1 to enable debugging
DEBUG:=1
EXTRA_CFLAGS += \
$(if $(DEBUG),-DAUC_DEBUG=ON)
$(if $(CONFIG_DEBUG),-DAUC_DEBUG=ON)
define Package/auc/install
$(INSTALL_DIR) $(1)/usr/sbin

File diff suppressed because it is too large Load Diff