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
Branches
Tags
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")
if model:match("[Oo]mnia") then
board = "omnia"
elseif model:match("^[Tt]urris$") then
board = "turris"
board = "turris1x"
else
DIE("Unsupported Turris model: " .. tostring(model))
end
-- TODO move it to hbs when we have v63.0 in hbs
local branch = "hbk"
if board == "turris" then
if board == "turris1x" then
-- Turris 1.x is only supported in HBK for now
branch = "hbd"
end
......@@ -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
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,
subdirs = { "base", "core", "packages", "turrispackages"}
})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment