Bug fix: -boot_image grub2_mbr= prevented -boot_image partition_table=on
This commit is contained in:
@ -1177,14 +1177,16 @@ treatment_patch:;
|
||||
#endif /* ! Xorriso_with_isohybriD */
|
||||
|
||||
} else if(strncmp(treatpt, "grub2_mbr=", 10) == 0) {
|
||||
ret= Xorriso_coordinate_system_area(xorriso, 0, (1 << 14), eff_path, 1 | 2);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
ret= Xorriso_set_system_area_path(xorriso, treatpt + 10, 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
if(treatpt [10] == 0)
|
||||
xorriso->system_area_options&= ~0x4000;
|
||||
else
|
||||
xorriso->system_area_options=
|
||||
(xorriso->system_area_options & ~2) | 0x4000;
|
||||
xorriso->system_area_options|= 0x4000;
|
||||
|
||||
} else
|
||||
was_ok= 0;
|
||||
|
Reference in New Issue
Block a user