New boot_specs efi_boot_part, prep_boot_part, chrp_boot_part
This commit is contained in:
@ -1800,20 +1800,25 @@ not_enough_args:;
|
||||
goto problem_handler_2;
|
||||
|
||||
} else if(strcmp(argpt, "-chrp-boot-part") == 0) {
|
||||
xorriso->system_area_options= (xorriso->system_area_options & ~0x3cfc) |
|
||||
0x400;
|
||||
ret= Xorriso_option_boot_image(xorriso, "any", "chrp_boot_part=on", 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_2;
|
||||
|
||||
} else if(strcmp(argpt, "-prep-boot-part") == 0) {
|
||||
if(i + 1 >= argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
strcpy(xorriso->prep_partition, argv[i]);
|
||||
ret= Sfile_str(xorriso->prep_partition, argv[i], 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
|
||||
} else if(strcmp(argpt, "-efi-boot-part") == 0) {
|
||||
if(i + 1 >= argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
strcpy(xorriso->efi_boot_partition, argv[i]);
|
||||
ret= Sfile_str(xorriso->efi_boot_partition, argv[i], 0);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
|
||||
} else if(strcmp(argpt, "-append_partition") == 0) {
|
||||
if(i + 3 >= argc)
|
||||
|
Reference in New Issue
Block a user