Made small adjustment to new -as mkisofs option -eltorito-platform
This commit is contained in:
@ -2477,16 +2477,18 @@ problem_handler_2:;
|
||||
if(i + 1>=argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
if(xorriso->boot_image_bin_path[0] != 0) {
|
||||
ret= Xorriso_genisofs_add_boot(xorriso, 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_boot;
|
||||
}
|
||||
mem= mkisofs_b_platform_id;
|
||||
mkisofs_b_platform_id= Xorriso_genisofs_platform(xorriso, argv[i], 0);
|
||||
if(mkisofs_b_platform_id < 0) {
|
||||
mkisofs_b_platform_id= 0;
|
||||
goto problem_handler_boot;
|
||||
}
|
||||
if(mkisofs_b_platform_id != mem &&
|
||||
xorriso->boot_image_bin_path[0] != 0) {
|
||||
ret= Xorriso_genisofs_add_boot(xorriso, 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_boot;
|
||||
}
|
||||
|
||||
} else if(strcmp(argpt, "-c") == 0 ||
|
||||
strcmp(argpt, "-eltorito-catalog") == 0) {
|
||||
|
Reference in New Issue
Block a user