Commit 3813a747 authored by Thomas Schmitt's avatar Thomas Schmitt

Prevented in -report_system_area "as_mkisofs" a confusion about...

Prevented in -report_system_area "as_mkisofs" a confusion about -appended_part_as_gpt and -part_like_isohybrid
parent ea8a7591
......@@ -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) {
......
#define Xorriso_timestamP "2017.09.09.142818"
#define Xorriso_timestamP "2017.09.10.164942"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment