summaryrefslogtreecommitdiff
path: root/updater-ng/files/turris-repo.lua
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-26 13:53:47 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-26 13:53:47 +0100
commit7aaa211601597aee58e56d99cf8530a7ba52d80c (patch)
tree31d4278dda402272c95692cda8a5ce162951e96e /updater-ng/files/turris-repo.lua
parent53aaeee4bbdb41453d40563ad228ae2dccfcc7e6 (diff)
downloadopenwrt-personal-pkgs-7aaa211601597aee58e56d99cf8530a7ba52d80c.tar.gz
openwrt-personal-pkgs-7aaa211601597aee58e56d99cf8530a7ba52d80c.tar.bz2
openwrt-personal-pkgs-7aaa211601597aee58e56d99cf8530a7ba52d80c.zip
updater-ng: test update to 70.0.0
Diffstat (limited to 'updater-ng/files/turris-repo.lua')
-rw-r--r--updater-ng/files/turris-repo.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/updater-ng/files/turris-repo.lua b/updater-ng/files/turris-repo.lua
new file mode 100644
index 0000000..2935e3d
--- /dev/null
+++ b/updater-ng/files/turris-repo.lua
@@ -0,0 +1,34 @@
+--[[
+This file allows you to override path to Turris lists. Those are Lua scripts
+maintained in default on https://repo.turris.cz along side the packages.
+Sometimes you want to point all machinery to different server just for testing.
+This file is here exactly for that.
+]]
+return {
+
+ --[[
+ Following line can be uncommented and changed to specify different server.
+ ]]
+ --url = "https://repo.turris.cz",
+
+ --[[
+ Following few lines can be uncommented if you want to include your own public
+ key used to sign your own copy of lists.
+ This is used only if url is also defined.
+ ]]
+ --pubkey = {
+ -- "file:///etc/updater/keys/release.pub",
+ -- "file:///etc/updater/keys/standby.pub",
+ -- "file:///etc/updater/keys/test.pub"
+ --},
+
+ --[[
+ These options are here rather for completeness. You can ping appropriate CA,
+ specify CRL or disable OCSP.
+ These options are ignored if url is not also defined.
+ ]]
+ --ca = true,
+ --crl = false,
+ --ocsp = true,
+
+}