From bd2a9ab20b470e808cd8f5156c3a2d872f752ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 21 Mar 2019 09:38:48 +0100 Subject: personal-pkgs-repo: Update for new updater and changed lists --- updater-ng/files/turris.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'updater-ng') diff --git a/updater-ng/files/turris.lua b/updater-ng/files/turris.lua index 7e90623..8ee114a 100644 --- a/updater-ng/files/turris.lua +++ b/updater-ng/files/turris.lua @@ -33,21 +33,19 @@ if mode == "version" and not version then mode = "branch" end --- Common URL base to Turris OS repository +-- Common URI to lists +local base_url if mode == "branch" then - repo_base_uri = "https://repo.turris.cz/" .. branch + base_url = "https://repo.turris.cz/" .. branch .. "/lists/" elseif mode == "version" then - repo_base_uri = "https://repo.turris.cz/archive/" .. version + base_url = "https://repo.turris.cz/archive/" .. version .. "/lists/" else DIE("Invalid updater.turris.mode specified: " .. mode) end -Export('repo_base_uri') -- Common connection settings for Turris OS scripts local script_options = { security = "Remote", - ca = system_cas, - crl = no_crl, pubkey = { "file:///etc/updater/keys/release.pub", "file:///etc/updater/keys/standby.pub", @@ -55,7 +53,6 @@ local script_options = { } } -local base_url = repo_base_uri .. "/lists/" -- The distribution base script. It contains the repository and bunch of basic packages Script(base_url .. "base.lua", script_options) -- cgit v1.2.3