Commit cab538c
committed
status: Check ostree version before enabling soft reboot
Add ostree version check to has_soft_reboot_capability() to ensure
soft reboot is disabled when ostree < 2025.7 and ostree= karg is
missing.
This prevents attempting soft reboots on older ostree versions that
have a bug when validating kargs during a factory reset.
Signed-off-by: ckyrouac <[email protected]>1 parent 653341b commit cab538c
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
99 | 117 | | |
100 | 118 | | |
101 | 119 | | |
| |||
0 commit comments