Improved handling of cylinder alignment if the resulting image size

size is not divisible by 2048. Old behavior was to not align. New is
to pad up by a few blocks of 512 bytes.
This commit is contained in:
2015-05-10 09:34:45 +02:00
parent 5a3d84cbbb
commit c47167058a
5 changed files with 28 additions and 16 deletions

View File

@@ -798,6 +798,12 @@ struct ecma119_image
struct iso_mbr_partition_request *mbr_req[ISO_MBR_ENTRIES_MAX];
int mbr_req_count;
/* Number of bytes which have to be added after the cylinder aligned end
of the overall ISO partition because clinder size is not a multiple
of 2048
*/
int post_iso_part_pad;
uint32_t prep_part_size;
/* GPT description. To be composed during IsoImageWriter