Bug fix: Data files named /boot.catalog or ./boot.cat could be left out of the emerging ISO if the boot catalog was set to be hidden
This commit is contained in:
@ -2672,7 +2672,7 @@ problem_handler_2:;
|
||||
xorriso->system_area_options= xorriso->system_area_options | (1 << 17);
|
||||
|
||||
} else if(strcmp(argpt, "--boot-catalog-hide")==0) {
|
||||
xorriso->boot_image_cat_hidden|= 3;
|
||||
xorriso->boot_image_cat_hidden|= 7;
|
||||
} else if(strcmp(argpt, "-partition_offset") == 0 ||
|
||||
strcmp(argpt, "-partition_sec_hd") == 0 ||
|
||||
strcmp(argpt, "-partition_hd_cyl") == 0 ||
|
||||
@ -2769,7 +2769,8 @@ problem_handler_boot:;
|
||||
continue;
|
||||
goto ex;
|
||||
}
|
||||
if(with_boot_image && with_cat_path == 0)
|
||||
if(with_boot_image && with_cat_path == 0 &&
|
||||
!(xorriso->boot_image_cat_hidden & 1))
|
||||
strcpy(xorriso->boot_image_cat_path, "/boot.catalog");
|
||||
/* The boot catalog has to be hidden separately */
|
||||
if(xorriso->boot_image_cat_path[0]) {
|
||||
|
Reference in New Issue
Block a user