pub(crate) fn mount_esp_part(
root: &Dir,
root_path: &Utf8Path,
is_ostree: bool,
) -> Result<()>Expand description
Mount the first ESP found among backing devices at /boot/efi.
This is used by the install-alongside path to clean stale bootloader files before reinstallation. On multi-device setups only the first ESP is mounted and cleaned; stale files on additional ESPs are left in place (bootupd will overwrite them during installation).