Commit 4e7b5a84 authored by Julian Schuh's avatar Julian Schuh
Browse files

more verbose output

parent f3c180f2
......@@ -16,12 +16,13 @@ if not from_branches[current_branch] then
return
end
local model = platform_info.get_image_name()
local new_models = Set(site.update_stabilizer.models())
if not new_models[platform_info.get_image_name()] then
if not new_models[model] then
return
end
print('[+] device matches criteria for change of autoupdater branch')
print('[+] device matches criteria (current branch ' .. current_branch .. ', model ' .. model .. ') for change of autoupdater branch')
local to_branch = site.update_stabilizer.to_branch()
uci:set('autoupdater', 'settings', 'branch', to_branch)
......
Markdown is supported
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