|
|
|
@ -832,10 +832,14 @@ treatment_patch:;
|
|
|
|
|
xorriso->boot_image_bin_path[0] = 0;
|
|
|
|
|
xorriso->boot_efi_default= 0;
|
|
|
|
|
} else if(strncmp(treatpt, "bin_path=", 9) == 0) {
|
|
|
|
|
ret= Xorriso_normalize_img_path(xorriso, xorriso->wdi, treatpt + 9,
|
|
|
|
|
xorriso->boot_image_bin_path, 2);
|
|
|
|
|
if(ret <= 0)
|
|
|
|
|
goto ex;
|
|
|
|
|
if(strncmp(treatpt + 9, "--interval:appended_partition_", 30) == 0) {
|
|
|
|
|
strcpy(xorriso->boot_image_bin_path, treatpt + 9);
|
|
|
|
|
} else {
|
|
|
|
|
ret= Xorriso_normalize_img_path(xorriso, xorriso->wdi, treatpt + 9,
|
|
|
|
|
xorriso->boot_image_bin_path, 2);
|
|
|
|
|
if(ret <= 0)
|
|
|
|
|
goto ex;
|
|
|
|
|
}
|
|
|
|
|
xorriso->keep_boot_image= 0;
|
|
|
|
|
if(isolinux_grub) {
|
|
|
|
|
xorriso->patch_isolinux_image= (xorriso->patch_isolinux_image & ~3) | 1;
|
|
|
|
@ -850,10 +854,14 @@ treatment_patch:;
|
|
|
|
|
xorriso->boot_image_bin_path[0] = 0;
|
|
|
|
|
xorriso->boot_efi_default= 0;
|
|
|
|
|
} else if(strncmp(treatpt, "efi_path=", 9) == 0) {
|
|
|
|
|
ret= Xorriso_normalize_img_path(xorriso, xorriso->wdi, treatpt + 9,
|
|
|
|
|
if(strncmp(treatpt + 9, "--interval:appended_partition_", 30) == 0) {
|
|
|
|
|
strcpy(xorriso->boot_image_bin_path, treatpt + 9);
|
|
|
|
|
} else {
|
|
|
|
|
ret= Xorriso_normalize_img_path(xorriso, xorriso->wdi, treatpt + 9,
|
|
|
|
|
xorriso->boot_image_bin_path, 2);
|
|
|
|
|
if(ret <= 0)
|
|
|
|
|
goto ex;
|
|
|
|
|
if(ret <= 0)
|
|
|
|
|
goto ex;
|
|
|
|
|
}
|
|
|
|
|
xorriso->keep_boot_image= 0;
|
|
|
|
|
xorriso->boot_efi_default= 1;
|
|
|
|
|
|
|
|
|
|