New options bit with isoburn_igopt_set_system_area() for GRUB2 MBR patching
This commit is contained in:
parent
c79d39b361
commit
45f715408b
@ -1441,7 +1441,7 @@ int isoburn_igopt_set_system_area(struct isoburn_imgen_opts *opts,
|
||||
}
|
||||
memcpy(opts->system_area_data, data, 32768);
|
||||
}
|
||||
opts->system_area_options = options & 0x3fff;
|
||||
opts->system_area_options = options & 0x7fff;
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
@ -1541,6 +1541,14 @@ int isoburn_igopt_get_scdbackup_tag(struct isoburn_imgen_opts *o,
|
||||
covers the ISO image. Not compatible with
|
||||
any other feature which needs to have own
|
||||
MBR partition entries.
|
||||
bit14= Only with System area type 0 = MBR
|
||||
GRUB2 boot provisions:
|
||||
@since 1.3.0
|
||||
Patch system area at byte 92 to 99 with 512-block
|
||||
address + 1 of the first boot image file.
|
||||
Little-endian 8-byte.
|
||||
Should be combined with options bit0.
|
||||
Will not be in effect if options bit1 is set.
|
||||
@return 1 success, 0 no data to get, <0 failure
|
||||
*/
|
||||
int isoburn_igopt_set_system_area(struct isoburn_imgen_opts *o,
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2013.04.12.181739"
|
||||
#define Xorriso_timestamP "2013.04.13.064738"
|
||||
|
Loading…
Reference in New Issue
Block a user