diff options
Diffstat (limited to 'myrepo-cert/Makefile')
-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)) |