Browse Source

Fixed result of Libisofs_mjg_boot_for_grub2 with original grub-mkrescue options

release-1.5.4.branch
Thomas Schmitt 5 years ago
parent
commit
fea7be5168
  1. 3
      libisofs/system_area.c

3
libisofs/system_area.c

@ -2090,7 +2090,8 @@ int iso_write_system_area(Ecma119Image *t, uint8_t *buf)
}
/* 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

Loading…
Cancel
Save