Clarified meaning of xorriso->patch_isolinux_image in Xorriso_make_iso_write_opts()
This commit is contained in:
parent
21c434d88c
commit
1ac25a971c
@ -760,12 +760,13 @@ int Xorriso_make_iso_write_opts(struct XorrisO *xorriso, IsoImage *image,
|
|||||||
relax= xorriso->relax_compliance;
|
relax= xorriso->relax_compliance;
|
||||||
if(image != NULL)
|
if(image != NULL)
|
||||||
is_bootable= iso_image_get_boot_image(image, NULL, NULL, NULL);
|
is_bootable= iso_image_get_boot_image(image, NULL, NULL, NULL);
|
||||||
if(xorriso->patch_isolinux_image & 1) {
|
|
||||||
if(is_bootable == 1)
|
/* xorriso->patch_isolinux_image gets reset in Xorriso_attach_boot_image()
|
||||||
relax|= isoburn_igopt_allow_full_ascii;
|
So this applies only to -boot_image ... "patch" or "keep".
|
||||||
else if(xorriso->keep_boot_image && is_bootable == 1)
|
>>> Better would be to analyze and keep the relaxations of the loaded image.
|
||||||
relax|= isoburn_igopt_allow_full_ascii;
|
*/
|
||||||
}
|
if((xorriso->patch_isolinux_image & 1) && is_bootable == 1)
|
||||||
|
relax|= isoburn_igopt_allow_full_ascii;
|
||||||
|
|
||||||
out_cs= xorriso->out_charset;
|
out_cs= xorriso->out_charset;
|
||||||
if(out_cs == NULL)
|
if(out_cs == NULL)
|
||||||
@ -2633,6 +2634,10 @@ int Xorriso_set_isolinux_options(struct XorrisO *xorriso,
|
|||||||
{ret= 0; goto ex;}
|
{ret= 0; goto ex;}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* <<< From here on only with first boot image and
|
||||||
|
deprecated builtin isohybrid MBR */
|
||||||
|
|
||||||
if(xorriso->boot_image_isohybrid == 3) {
|
if(xorriso->boot_image_isohybrid == 3) {
|
||||||
make_isohybrid_mbr= 1;
|
make_isohybrid_mbr= 1;
|
||||||
} else {
|
} else {
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2014.12.29.105732"
|
#define Xorriso_timestamP "2014.12.29.142036"
|
||||||
|
Loading…
Reference in New Issue
Block a user