New -boot_image setting mbr_force_bootable=, -as mkisofs --mbr-force-bootable

This commit is contained in:
2016-01-01 17:28:46 +00:00
parent 3415007907
commit 67c13115b0
13 changed files with 264 additions and 121 deletions

View File

@ -3036,6 +3036,12 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
Xorriso_status_result(xorriso,filter,fp,flag&2);
}
is_default= ((xorriso->system_area_options & (1 << 15)) == 0);
sprintf(line, "-boot_image any mbr_force_bootable=%s\n",
(xorriso->system_area_options & (1 << 15)) ? "on" : "off");
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso,filter,fp,flag&2);
ret= ((xorriso->system_area_options & 0x3cfc) == 0x400);
is_default= (ret == 0);
sprintf(line, "-boot_image any chrp_boot_part=%s\n",