Skip to content
Snippets Groups Projects
Verified Commit f30420b8 authored by Karel Koci's avatar Karel Koci :metal: Committed by Josef Schlehofer
Browse files

lists: immediately replan on updater-ng update

We need to replan immediately after updater-ng update because we depend
on conditions and without them a lot of packages are skipped and removed
during the update. We in general prefer to update whole system at once
but it is not an ideal when part of that system would be removed during
such update. It would also be better to use `Mode("no_removal")` but
that is available since version 64.0 and request conditions were
introduced in 65.0 thus it makes no sense to cover that single version
with special case. In the future when ever new incompatibility such as
this is added we should use no removal mode instead.
parent f6e90abc
No related branches found
No related tags found
1 merge request!446lists: immediately replan on updater-ng update
Pipeline #86375 passed
......@@ -6,7 +6,13 @@ list_script('base-conditional.lua')
-- Updater itself
Install('updater-ng', 'updater-supervisor', { critical = true })
Package('updater-ng', { replan = 'finished' })
if features.request_condition then
-- This corresponds to FEATURE_GUARD. We would skip a lot of requests and thus
-- we would remove a lot of packages before update without this.
Package('updater-ng', { replan = 'finished' })
else
Package("updater-ng", { replan = "immediate" })
end
-- Kernel
Package("kernel", { reboot = "delayed" })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment