Commit 3e09c50
committed
cli: Initialize bootc storage before upgrade --check
We had a report of `bootc upgrade --check` failing after
a new install - this was using Anaconda with the legacy
`ostreecontainer` verb that only knows about ostree.
Hoist the image_exists_in_unified_storage() call (which ensures the
bootc storage directory exists via get_ensure_imgstore()) above the
opts.check branch so it runs for both --check and full upgrade paths.
Relates: https://issues.redhat.com/browse/RHEL-153671
Assisted-by: OpenCode (Claude Opus 4)
Signed-off-by: Colin Walters <walters@verbum.org>1 parent f450cf3 commit 3e09c50
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
1122 | 1127 | | |
1123 | 1128 | | |
1124 | 1129 | | |
| |||
1144 | 1149 | | |
1145 | 1150 | | |
1146 | 1151 | | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | 1152 | | |
1151 | 1153 | | |
1152 | 1154 | | |
| |||
0 commit comments