fn write_grub_uki_menuentry( setup_type: &BootSetupType<'_>, boot_label: String, id: &Sha512HashValue, esp_device: &str, ) -> Result<()>