Fixed result of Libisofs_mjg_boot_for_grub2 with original grub-mkrescue options

This commit is contained in:
Thomas Schmitt 2015-12-28 11:30:53 +01:00
parent bd25db9283
commit fea7be5168

View File

@ -2090,7 +2090,8 @@ int iso_write_system_area(Ecma119Image *t, uint8_t *buf)
} }
/* Prevent MBR partition type 0xee */ /* Prevent MBR partition type 0xee */
if (sa_type == 0 && ((t->system_area_options & 3) || risk_of_ee)) { if (sa_type == 0 && ((t->system_area_options & 3) || risk_of_ee) &&
(t->have_appended_partitions || t->gpt_req_count == 0)) {
#else #else