switch-branch: prevent downgrades
Downgrades between versions is dangerous and can break router. It is not supported and all fixes and migration scripts are just one way, there is no way to revert changes done by them on downgrade. Thus doing downgrade can cause pretty much any component to become invalidly configured and thus broken.
Fixes: #741 (closed)
Merge request reports
Activity
changed milestone to %Turris OS 5.3.11
added To Do label
requested review from @mvasilek
assigned to @mvasilek
- Resolved by Josef Schlehofer
- Resolved by Michal Vasilek
assigned to @jschlehofer and unassigned @mvasilek
Tested on router:
root@turris:~# switch-branch hbs % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 7 100 7 0 0 44 0 --:--:-- --:--:-- --:--:-- 72 6.0 -> 5.3.10 You are attempting to do downgrade while only upgrades are supported. Downgrade can cause unexpected issues because of migration steps performed on upgrade. You can use schnapps to rollback to a previous version or perform a factory reset.
marked this merge request as draft from a71785ce
added 330 commits
-
a71785ce...1e8bc818 - 327 commits from branch
master
- abadba29 - switch-branch: prevent downgrades
- 0bb68d39 - Apply 1 suggestion(s) to 1 file(s)
- 5419b613 - fixup! Apply 1 suggestion(s) to 1 file(s)
Toggle commit list-
a71785ce...1e8bc818 - 327 commits from branch
assigned to @mvasilek and unassigned @jschlehofer
assigned to @jschlehofer and unassigned @mvasilek