Browse Source

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>
lilik-openwrt-22.03
Daniel Golle 4 years ago
parent
commit
85ba80592b
No known key found for this signature in database GPG Key ID: 5A8F39C31C3217CA
2 changed files with 804 additions and 256 deletions
  1. +4
    -7
      utils/auc/Makefile
  2. +800
    -249
      utils/auc/src/auc.c

+ 4
- 7
utils/auc/Makefile 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


+ 800
- 249
utils/auc/src/auc.c
File diff suppressed because it is too large
View File


Loading…
Cancel
Save