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

lists: use appropriate optional extra configuration for repository

parent a86b2704
Branches
Tags
1 merge request!123Turris OS 5.0 (HBK)
......@@ -3,10 +3,13 @@ include(utils.m4)dnl Include utility macros
local subdirs = { "base", "core" esyscmd(`awk "/^src-git/{printf \", \\\"%s\\\"\", \$'`2}" '_FEEDS_)}
local rroot
local optional_extra
if features["relative_uri"] then
rroot = ".."
optional_extra = { optional = true }
else
rroot = repo_base_uri or "https://repo.turris.cz/hbs"
optional_extra = { ignore = { "missing" } }
end
local pkg_board = board
......@@ -22,6 +25,6 @@ for _, subdir in ipairs(subdirs) do
if minimal_builds then
Repository("turris-minimal-" .. subdir,
rroot .. "/packages-minimal/" .. pkg_board .. "/" .. subdir,
{ optional = true })
optional_extra)
end
end
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