Browse Source

Merge pull request #8356 from aparcar/asu-cert-server

attendedsyuspgrade-common: add key and set server
lilik-openwrt-22.03
Daniel Golle 6 years ago
committed by GitHub
parent
commit
ceb39d08a0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions
  1. +5
    -2
      utils/attendedsysupgrade-common/Makefile
  2. +1
    -1
      utils/attendedsysupgrade-common/files/attendedsysupgrade.defaults
  3. +2
    -0
      utils/attendedsysupgrade-common/files/c06d891233ba699

+ 5
- 2
utils/attendedsysupgrade-common/Makefile View File

@ -5,8 +5,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=attendedsysupgrade-common PKG_NAME:=attendedsysupgrade-common
PKG_VERSION:=0.1
PKG_RELEASE:=2
PKG_VERSION:=0.2
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -51,6 +51,9 @@ endef
define Package/attendedsysupgrade-common/install define Package/attendedsysupgrade-common/install
$(INSTALL_DIR) $(1)/etc/uci-defaults/ $(INSTALL_DIR) $(1)/etc/uci-defaults/
$(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade $(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
$(INSTALL_DIR) $(1)/etc/opkg/keys/
$(INSTALL_BIN) ./files/c06d891233ba699 $(1)/etc/opkg/keys/c06d891233ba699
endef endef
$(eval $(call BuildPackage,attendedsysupgrade-common)) $(eval $(call BuildPackage,attendedsysupgrade-common))

+ 1
- 1
utils/attendedsysupgrade-common/files/attendedsysupgrade.defaults View File

@ -6,7 +6,7 @@ touch /etc/config/attendedsysupgrade
uci -q batch <<EOF uci -q batch <<EOF
set attendedsysupgrade.server=server set attendedsysupgrade.server=server
set attendedsysupgrade.server.url='https://example.org'
set attendedsysupgrade.server.url='https://chef.libremesh.org'
set attendedsysupgrade.client=client set attendedsysupgrade.client=client
set attendedsysupgrade.client.upgrade_packages='1' set attendedsysupgrade.client.upgrade_packages='1'


+ 2
- 0
utils/attendedsysupgrade-common/files/c06d891233ba699 View File

@ -0,0 +1,2 @@
untrusted comment: public key c06d891233ba699
RWQMBtiRIzummeTc81jtKdJ3XwnaZGtHLRwjls0ovGsKoTnTmS7fj4Na

Loading…
Cancel
Save