fn write_pe_to_esp(
repo: &Repository<Sha512HashValue>,
file: &RegularFile<Sha512HashValue>,
file_path: &Utf8Path,
pe_type: PEType,
uki_id: &Sha512HashValue,
is_insecure_from_opts: bool,
mounted_efi: impl AsRef<Path>,
bootloader: &Bootloader,
) -> Result<Option<UKIInfo>>Expand description
Writes a PortableExecutable to ESP along with any PE specific or Global addons