Skip to content
Snippets Groups Projects
Verified Commit d7a8aa02 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

lists: update migrate3x.lua to use new paths

parent 1b017362
No related branches found
No related tags found
1 merge request!123Turris OS 5.0 (HBK)
...@@ -11,14 +11,14 @@ if not version_match or not self_version or version_match(self_version, "<63.0") ...@@ -11,14 +11,14 @@ if not version_match or not self_version or version_match(self_version, "<63.0")
if model:match("[Oo]mnia") then if model:match("[Oo]mnia") then
board = "omnia" board = "omnia"
elseif model:match("^[Tt]urris$") then elseif model:match("^[Tt]urris$") then
board = "turris" board = "turris1x"
else else
DIE("Unsupported Turris model: " .. tostring(model)) DIE("Unsupported Turris model: " .. tostring(model))
end end
-- TODO move it to hbs when we have v63.0 in hbs -- TODO move it to hbs when we have v63.0 in hbs
local branch = "hbk" local branch = "hbk"
if board == "turris" then if board == "turris1x" then
-- Turris 1.x is only supported in HBK for now -- Turris 1.x is only supported in HBK for now
branch = "hbd" branch = "hbd"
end end
...@@ -27,7 +27,7 @@ if not version_match or not self_version or version_match(self_version, "<63.0") ...@@ -27,7 +27,7 @@ if not version_match or not self_version or version_match(self_version, "<63.0")
We provide access to only HBS repository and to only minimal set of feeds. We We provide access to only HBS repository and to only minimal set of feeds. We
don't need anything more to update updater. don't need anything more to update updater.
]] ]]
Repository("turris", "https://repo.turris.cz/" .. branch .. "/packages/" .. board, { Repository("turris", "https://repo.turris.cz/" .. branch .. "/" .. board .. "/packages", {
priority = 60, priority = 60,
subdirs = { "base", "core", "packages", "turrispackages"} subdirs = { "base", "core", "packages", "turrispackages"}
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment