New -boot_image setting mbr_force_bootable=, -as mkisofs --mbr-force-bootable
This commit is contained in:
@ -1260,6 +1260,19 @@ treatment_patch:;
|
||||
else
|
||||
xorriso->system_area_options|= 0x4000;
|
||||
|
||||
} else if(strncmp(treatpt, "mbr_force_bootable=", 19) == 0) {
|
||||
if(strcmp(treatpt + 19, "off") == 0) {
|
||||
xorriso->system_area_options&= ~(1 << 15);
|
||||
} else if(strcmp(treatpt + 19, "on") == 0) {
|
||||
xorriso->system_area_options|= (1 << 15);
|
||||
} else {
|
||||
sprintf(xorriso->info_text,
|
||||
"-boot_image %s mbr_force_bootable=: unknown mode : %s",
|
||||
formpt, treatpt + 19);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
{ret= 0; goto ex;}
|
||||
}
|
||||
|
||||
} else
|
||||
was_ok= 0;
|
||||
|
||||
|
Reference in New Issue
Block a user