Commit c17b92c
committed
efi: to get esp part during installation, if failed via
`/dev/disk/by-partlabel`, change to `sfdisk`
During `bootc install to-disk`, the esp device is not mounted and
will call `get_esp_device()` to get esp device via
`/dev/disk/by-partlabel/`.
When running `cosa build`, the efi part is mounted and can not get
get esp device via `/dev/disk/by-partlabel`, with this patch,
change to `sfdik` to get esp part.1 parent 9ef528d commit c17b92c
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
328 | 334 | | |
329 | 335 | | |
330 | 336 | | |
| |||
0 commit comments