You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
efi: during installation using blockdev to find esp partition
instead of `partlabel`
Copy Dusty's comment from https://github.com/coreos/bootupd/pull/932/files#r2112567301:
During `bootc install to-disk` the esp device is not mounted but
we can call `get_esp_device()` and it will find the device via
the `/dev/disk/by-partlabel/` symlink. When running `cosa build` and
building a disk image using `OSBuild` the EFI partitions is mounted
but no udev `/dev/disk/by-partlabel/` symlinks exist because it's
just a chroot and not a full linux environment. In that case
fallback to using `blockdev` to find the partition.
Even better, get rid of `self.get_esp_device()` altogether and just
use `blockdev`
0 commit comments