Supporting -as mkisofs -chrp-boot as alias of -chrp-boot-part

master
Thomas Schmitt 8 years ago
parent 6153e3c95b
commit 5a3d6ef153
  1. 4
      xorriso/emulators.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -864,6 +864,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -efi-boot-part DISKFILE|--efi-boot-image",
" Set data source for EFI System Partition",
" -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",
" -append_partition NUMBER TYPE FILE",
" Append FILE after image. TYPE is hex: 0x..",
@ -1930,7 +1931,8 @@ not_enough_args:;
if(ret <= 0)
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);
if(ret <= 0)
goto problem_handler_2;

@ -1 +1 @@
#define Xorriso_timestamP "2014.09.30.181738"
#define Xorriso_timestamP "2014.10.03.180649"

Loading…
Cancel
Save