New -boot_image bootspec "appended_part_as=", new -as mkisofs option -appended_part_as_gpt
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
|
||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2015 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
@ -598,6 +598,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
||||
"--no_rc", "--norock", "-hfsplus", "-fat", "-chrp-boot-part",
|
||||
"-isohybrid-gpt-basdat", "-isohybrid-gpt-hfsplus",
|
||||
"-isohybrid-apm-hfsplus", "--grub2-boot-info", "-joliet-utf16",
|
||||
"-appended_part_as_gpt",
|
||||
""
|
||||
};
|
||||
static char arg1_options[][41]= {
|
||||
@ -868,6 +869,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
||||
" -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..",
|
||||
" -appended_part_as_gpt mark appended partitions in GPT instead of MBR.",
|
||||
" --modification-date=YYYYMMDDhhmmsscc",
|
||||
" Override date of creation and modification",
|
||||
" -isohybrid-mbr FILE Set SYSLINUX mbr/isohdp[fp]x*.bin for isohybrid",
|
||||
@ -1962,6 +1964,9 @@ not_enough_args:;
|
||||
if(ret <= 0)
|
||||
goto problem_handler_2;
|
||||
|
||||
} else if(strcmp(argpt, "-appended_part_as_gpt") == 0) {
|
||||
xorriso->appended_as_gpt= 1;
|
||||
|
||||
} else if(strcmp(argpt, "-B") == 0 ||
|
||||
strcmp(argpt, "-sparc-boot") == 0) {
|
||||
i++;
|
||||
|
Reference in New Issue
Block a user