fn pe_output_dir(
pe_type: &PEType,
mounted_efi: &Path,
file_path: &Utf8Path,
uki_id: &Sha512HashValue,
is_upgrade: bool,
) -> PathBufExpand description
Determines the directory (under mounted_efi) that a PE binary should be written to.
- A UKI, or an addon scoped to a single UKI, is namespaced under
BOOTC_UKI_DIRby the deployment’s verity digest, so it doesn’t collide with other deployments. - A global UKI addon applies to every UKI, so it’s written to the shared
GLOBAL_UKI_ADDONS_DIRinstead.