Letting -report_system_area propose --mbr-force-bootable more often
This commit is contained in:
parent
7add4133d2
commit
8765230b75
@ -1672,6 +1672,7 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
||||
char *volid, *crt, *mdt, *ext, *eft, uuid[17], *uuid_time;
|
||||
char **app_pseudo_paths= NULL;
|
||||
struct tm tm_erg;
|
||||
int was_force_bootable= 0;
|
||||
|
||||
struct mbr_par {
|
||||
uint8_t ptype;
|
||||
@ -2099,8 +2100,13 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
||||
Xorriso_add_intvl_adr(xorriso, buf, (uint64_t) start_block,
|
||||
((uint64_t) start_block) + num_blocks - 1, "d",
|
||||
imported_iso);
|
||||
} else if((part_status & 0x80) && part_type == 0x00 &&
|
||||
start_block == 0 && num_blocks == 1) {
|
||||
}
|
||||
if((part_status & 0x80) && !was_force_bootable) {
|
||||
was_force_bootable= 1;
|
||||
if(buf[0]) {
|
||||
Xorriso_record_cmd_linE
|
||||
buf[0]= 0;
|
||||
}
|
||||
if(mkisofs)
|
||||
sprintf(buf, "--mbr-force-bootable");
|
||||
else
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2018.09.09.125911"
|
||||
#define Xorriso_timestamP "2018.09.09.130316"
|
||||
|
Loading…
Reference in New Issue
Block a user