Commit ea5896f
committed
status: Check ostree version before enabling soft reboot
Add ostree version check to has_soft_reboot_capability() to ensure
soft reboot is only enabled when ostree 2025.7 or later is present.
This prevents attempting soft reboots on older ostree versions that
have a bug when validating kargs during a factory reset.
The check happens before the systemd and deployment capability checks,
providing a fast path return for incompatible versions.
Signed-off-by: ckyrouac <[email protected]>1 parent c3bf2ad commit ea5896f
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
0 commit comments