Prevented in -report_system_area "as_mkisofs" a confusion about -appended_part_as_gpt and -part_like_isohybrid
This commit is contained in:
parent
ea8a7591de
commit
3813a747d1
@ -2174,14 +2174,8 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
||||
}
|
||||
}
|
||||
if(mbr_idx >= mbr_count) {
|
||||
if(appended_as_gpt == 1) {
|
||||
if(mkisofs)
|
||||
sprintf(buf, "-appended_part_as_gpt");
|
||||
else
|
||||
sprintf(buf, "-boot_image any appended_part_as=gpt");
|
||||
Xorriso_record_cmd_linE
|
||||
if(appended_as_gpt == 1)
|
||||
appended_as_gpt= 2;
|
||||
}
|
||||
sprintf(buf, "-append_partition %d 0x%lx ", idx + 1, part_type);
|
||||
Xorriso_add_intvl_adr(xorriso, buf, (uint64_t) num[1],
|
||||
(uint64_t) (num[1] + num[2] - 1.0), "d",
|
||||
@ -2211,6 +2205,7 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
||||
Xorriso_record_cmd_linE
|
||||
buf[0]= 0;
|
||||
part_like_isohybrid= 1;
|
||||
appended_as_gpt= 0;
|
||||
}
|
||||
/* mark el torito for -isohybrid-gpt-... */
|
||||
Xorriso_register_eltorito_gpt(xorriso, et_imgs + et_idx,
|
||||
@ -2394,6 +2389,14 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
||||
Xorriso_record_cmd_linE
|
||||
}
|
||||
|
||||
if(appended_as_gpt == 2) {
|
||||
if(mkisofs)
|
||||
sprintf(buf, "-appended_part_as_gpt");
|
||||
else
|
||||
sprintf(buf, "-boot_image any appended_part_as=gpt");
|
||||
Xorriso_record_cmd_linE
|
||||
}
|
||||
|
||||
if(have_sparc_part) {
|
||||
if(full_sparc_part == 255) {
|
||||
if(mkisofs) {
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2017.09.09.142818"
|
||||
#define Xorriso_timestamP "2017.09.10.164942"
|
||||
|
Loading…
Reference in New Issue
Block a user