Commit 397551f9 authored by Thomas Schmitt's avatar Thomas Schmitt

With report_system_area of iso_mbr_part_type: give MBR precedence over GPT

parent 3b0abc14
......@@ -2494,7 +2494,16 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
Xorriso_record_cmd_linE
did_sysarea= 1;
}
if(iso_gpt_part_idx >= 0) {
if(iso_mbr_part_type >= 0) {
if(mkisofs)
sprintf(buf, "-iso_mbr_part_type 0x%2.2x",
(unsigned int) iso_mbr_part_type);
else
sprintf(buf, "-boot_image any iso_mbr_part_type=0x%2.2x",
(unsigned int) iso_mbr_part_type);
Xorriso_record_cmd_linE
} else if(iso_gpt_part_idx >= 0) {
if(mkisofs)
sprintf(buf, "-iso_mbr_part_type ");
else
......@@ -2503,14 +2512,6 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
0);
Xorriso_record_cmd_linE
} else if(iso_mbr_part_type >= 0) {
if(mkisofs)
sprintf(buf, "-iso_mbr_part_type 0x%2.2x",
(unsigned int) iso_mbr_part_type);
else
sprintf(buf, "-boot_image any iso_mbr_part_type=0x%2.2x",
(unsigned int) iso_mbr_part_type);
Xorriso_record_cmd_linE
}
/* Issue commands related to El Torito */
......
#define Xorriso_timestamP "2019.07.13.153027"
#define Xorriso_timestamP "2019.07.22.181418"
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