[efi] leave .efi files in efi/boot/ uncompressed on NTFS

* While compressed EFI bootloaders are not an issue for UEFI:NTFS, some UEFI firmwares
  embed an NTFS driver that doesn't support NTFS compression.
  To address that, also uncompress the EFI bootloaders on NTFS.
* Closes #1424
This commit is contained in:
Joseph mendoza 2019-12-21 01:42:38 -08:00 committed by Pete Batard
parent 5dce5fb56a
commit 8672feeb0a
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
2 changed files with 6 additions and 6 deletions

View file

@ -1015,7 +1015,7 @@ out:
fclose(fd);
} else if (HAS_BOOTMGR(img_report) && enable_ntfs_compression) {
// bootmgr might need to be uncompressed: https://github.com/pbatard/rufus/issues/1381
RunCommand("compact /u bootmgr bootmgr.efi", dest_dir, TRUE);
RunCommand("compact /u bootmgr* efi/boot/*.efi", dest_dir, TRUE);
}
}
if (p_iso != NULL)