diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-02-19 16:08:02 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-02-19 16:08:02 +0100 |
commit | 99239c3f646c0ff9e1d9f614803bacb2cb053f57 (patch) | |
tree | 6af1f57f5cda5d452d017ae38f76377315a7bb39 | |
parent | 1e5b6d8bd43978dd2c9b4f970d9563931d7e5c9d (diff) | |
download | turris-myrepo-99239c3f646c0ff9e1d9f614803bacb2cb053f57.tar.gz turris-myrepo-99239c3f646c0ff9e1d9f614803bacb2cb053f57.tar.bz2 turris-myrepo-99239c3f646c0ff9e1d9f614803bacb2cb053f57.zip |
Drop also myrepo package
How to create this package is described in README.md and it contains my
personal configuration so it shouldn't be there.
-rw-r--r-- | myrepo/Makefile | 35 | ||||
-rw-r--r-- | myrepo/files/updater.lua | 14 |
2 files changed, 0 insertions, 49 deletions
diff --git a/myrepo/Makefile b/myrepo/Makefile deleted file mode 100644 index ac252cc..0000000 --- a/myrepo/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# -## 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. -# # -# -include $(TOPDIR)/rules.mk - -PKG_NAME:=myrepo -PKG_VERSION:=1 -PKG_MAINTAINER:=Karel Koci -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) - -include $(INCLUDE_DIR)/package.mk - -define Package/myrepo - TITLE:=myrepo -endef - -define Build/Compile - : -endef - -define Package/myrepo/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 - - $(INSTALL_DIR) $(1)/etc/updater/conf.d - $(INSTALL_CONF) ./files/updater.lua $(1)/etc/updater/conf.d/myrepo.lua -endef - -$(eval $(call BuildPackage,myrepo)) diff --git a/myrepo/files/updater.lua b/myrepo/files/updater.lua deleted file mode 100644 index 0673f47..0000000 --- a/myrepo/files/updater.lua +++ /dev/null @@ -1,14 +0,0 @@ -local board -if model:match('[Oo]mnia') then - board = "omnia" -else - board = "turris" -end - -Script("myrepo", "https://cynerd.cz/myrepo/" .. board .. ".lua", { - pubkey = "file:///etc/updater/keys/myrepo.pub", - ocsp = false -}) - -Install("myrepo") -Package("myrepo", { replan = "finished" }) |