Skip to content

Commit

Permalink
gluon-core: don't rewrite distfeeds for next
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
blocktrron authored and herbetom committed Jun 24, 2023
1 parent f3abfe2 commit 729ff25
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions package/gluon-core/luasrc/lib/gluon/upgrade/500-opkg
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ local function replace_patterns(url)
end


local openwrt = site.opkg.openwrt()
local extra = site.opkg.extra({})


Expand All @@ -52,8 +51,6 @@ for _, line in ipairs(distfeeds) do
local name = line:match('^src/gz%s' .. prefix .. '(%S+)%s')
if name == 'core' then
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
f:write(line .. '\n')
end
Expand Down

0 comments on commit 729ff25

Please sign in to comment.