Skip to main content

clean_esp_bootloader_dirs

Function clean_esp_bootloader_dirs 

Source
fn clean_esp_bootloader_dirs(efidir: &Dir) -> Result<()>
Expand description

Remove the bootloader dirs (bootupd/grub, systemd-boot) from the ESP. Other content, e.g. Asahi’s m1n1/ and vendorfw/, may be firmware or earlier boot stages we cannot recreate, so it is preserved.