Supporting -as mkisofs -chrp-boot as alias of -chrp-boot-part
This commit is contained in:
parent
ac03f8fc43
commit
0740c11dde
@ -864,6 +864,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
|||||||
" -efi-boot-part DISKFILE|--efi-boot-image",
|
" -efi-boot-part DISKFILE|--efi-boot-image",
|
||||||
" Set data source for EFI System Partition",
|
" Set data source for EFI System Partition",
|
||||||
" -chrp-boot-part Mark ISO image size by MBR partition type 0x96",
|
" -chrp-boot-part Mark ISO image size by MBR partition type 0x96",
|
||||||
|
" -chrp-boot Alias of -chrp-boot-part",
|
||||||
" -prep-boot-part DISKFILE Set data source for MBR partition type 0x41",
|
" -prep-boot-part DISKFILE Set data source for MBR partition type 0x41",
|
||||||
" -append_partition NUMBER TYPE FILE",
|
" -append_partition NUMBER TYPE FILE",
|
||||||
" Append FILE after image. TYPE is hex: 0x..",
|
" Append FILE after image. TYPE is hex: 0x..",
|
||||||
@ -1930,7 +1931,8 @@ not_enough_args:;
|
|||||||
if(ret <= 0)
|
if(ret <= 0)
|
||||||
goto problem_handler_2;
|
goto problem_handler_2;
|
||||||
|
|
||||||
} else if(strcmp(argpt, "-chrp-boot-part") == 0) {
|
} else if(strcmp(argpt, "-chrp-boot-part") == 0 ||
|
||||||
|
strcmp(argpt, "-chrp-boot") == 0) {
|
||||||
ret= Xorriso_option_boot_image(xorriso, "any", "chrp_boot_part=on", 0);
|
ret= Xorriso_option_boot_image(xorriso, "any", "chrp_boot_part=on", 0);
|
||||||
if(ret <= 0)
|
if(ret <= 0)
|
||||||
goto problem_handler_2;
|
goto problem_handler_2;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2014.09.30.181738"
|
#define Xorriso_timestamP "2014.10.03.180649"
|
||||||
|
Loading…
Reference in New Issue
Block a user