diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-10-25 12:40:08 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-10-25 12:40:08 +0200 |
commit | ca31f34dba9a9ec72769c9513f449c975a065fa3 (patch) | |
tree | 7b7bf72dcfe54b1e41e390c84318289c7329aede /myrepo-cert | |
parent | 05378c44b6a49be9ef4432b7e9dd3ccc7aa5dca2 (diff) | |
download | turris-myrepo-ca31f34dba9a9ec72769c9513f449c975a065fa3.tar.gz turris-myrepo-ca31f34dba9a9ec72769c9513f449c975a065fa3.tar.bz2 turris-myrepo-ca31f34dba9a9ec72769c9513f449c975a065fa3.zip |
More fixes for new server and updater version
Diffstat (limited to 'myrepo-cert')
-rw-r--r-- | myrepo-cert/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/myrepo-cert/Makefile b/myrepo-cert/Makefile index 99f47fe..9c0cba2 100644 --- a/myrepo-cert/Makefile +++ b/myrepo-cert/Makefile @@ -1,5 +1,5 @@ # -## Copyright (C) 2016 CZ.NIC z.s.p.o. (http://www.nic.cz/) +## Copyright (C) 2016-2017 CZ.NIC z.s.p.o. (http://www.nic.cz/) # ## This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=myrepo-cert -PKG_VERSION:=1 +PKG_VERSION:=2 PKG_MAINTAINER:=Karel Koci PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) @@ -25,9 +25,11 @@ endef define Package/myrepo-cert/install $(INSTALL_DIR) $(1)/etc/opkg/keys $(INSTALL_DIR) $(1)/etc/updater/keys + $(INSTALL_DATA) ./files/key.pub $(1)/etc/opkg/keys/cfb977a0d53c5424 + $(INSTALL_DATA) ./files/key.pub $(1)/etc/updater/keys/myrepo.pub - cp ./files/key.pub $(1)/etc/opkg/keys/cfb977a0d53c5424 - cp ./files/key.pub $(1)/etc/updater/keys/myrepo.pub + $(INSTALL_DIR) $(1)/etc/updater/conf.d + $(INSTALL_CONF) ./files/updater.lua $(1)/etc/updater/conf.d/myrepo.lua endef $(eval $(call BuildPackage,myrepo-cert)) |