Removed the false prediction that HFS+ would cause GPT.

This commit is contained in:
Thomas Schmitt 2015-12-22 11:52:33 +01:00
parent 83b864efd2
commit b3701f0b18

View File

@ -2616,8 +2616,7 @@ static int partprepend_writer_compute_data_blocks(IsoImageWriter *writer)
with_chrp = ((t->system_area_options & 0x3cff) == 0x0400); with_chrp = ((t->system_area_options & 0x3cff) == 0x0400);
if (t->opts->efi_boot_partition != NULL || if (t->opts->efi_boot_partition != NULL ||
(t->opts->hfsplus && !with_chrp) || t->gpt_req_count > 0) /* Might not catch all cases with GPT */
t->gpt_req_count > 0)
will_have_gpt = 1; will_have_gpt = 1;
if (t->opts->efi_boot_partition != NULL) { if (t->opts->efi_boot_partition != NULL) {