gluon-core: don't rewrite distfeeds for next
Don't rewrite the OpenWrt distfeeds, as the current way of formatting the URLs results in invalid URLs, as the path for snapshot packages differs from release packages. This is a hack and should be re-implemented properly in the future.
This commit is contained in:
parent
7cbcc6a60f
commit
55abdf0551
@ -37,7 +37,6 @@ local function replace_patterns(url)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local openwrt = site.opkg.openwrt()
|
|
||||||
local extra = site.opkg.extra({})
|
local extra = site.opkg.extra({})
|
||||||
|
|
||||||
|
|
||||||
@ -52,8 +51,6 @@ for _, line in ipairs(distfeeds) do
|
|||||||
local name = line:match('^src/gz%s' .. prefix .. '(%S+)%s')
|
local name = line:match('^src/gz%s' .. prefix .. '(%S+)%s')
|
||||||
if name == 'core' then
|
if name == 'core' then
|
||||||
f:write('# ' .. line .. '\n')
|
f:write('# ' .. line .. '\n')
|
||||||
elseif name and openwrt then
|
|
||||||
f:write(string.format('src/gz %s %s/%s\n', prefix .. name, replace_patterns(openwrt), name))
|
|
||||||
else
|
else
|
||||||
f:write(line .. '\n')
|
f:write(line .. '\n')
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user