Commit 54fe9ff
committed
daemon/guestos_mgr: Check for used kernel images
A/B update requires keeping more than only the latest version of the
kernel guestos in the guestos store. Usually (if everything works fine)
these are the last two versions, however, this may change if an update
was not successful and was rolled back to the previous version. Then the
'oldold' version on the backup must be kept.
Add an additional check that keeps a guestos if one of the redundant
mount options points corresponds to the kernel image of the guestos.
Signed-off-by: Johannes Wiesböck <[email protected]>1 parent b044b64 commit 54fe9ff
1 file changed
+65
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
182 | 245 | | |
183 | 246 | | |
184 | 247 | | |
| |||
241 | 304 | | |
242 | 305 | | |
243 | 306 | | |
244 | | - | |
| 307 | + | |
| 308 | + | |
245 | 309 | | |
246 | 310 | | |
247 | 311 | | |
| |||
0 commit comments