Fixed omissions of rev 1197 about so_write_opts_set_prep_img() and

iso_write_opts_set_efi_bootp().
This commit is contained in:
Thomas Schmitt 2015-04-28 14:21:36 +02:00
parent 5f6e64b792
commit 5a3d84cbbb

View File

@ -2610,7 +2610,8 @@ static int partprepend_writer_compute_data_blocks(IsoImageWriter *writer)
}
} else {
ret = compute_partition_size(t, t->opts->efi_boot_partition,
&(t->efi_boot_part_size), 0);
&(t->efi_boot_part_size),
t->opts->efi_boot_part_flag & 1);
if (ret < 0)
return ret;
}
@ -2640,7 +2641,8 @@ static int partprepend_writer_compute_data_blocks(IsoImageWriter *writer)
if (t->opts->prep_partition != NULL) {
ret = compute_partition_size(t, t->opts->prep_partition,
&(t->prep_part_size), 0);
&(t->prep_part_size),
t->opts->prep_part_flag & 1);
if (ret < 0)
return ret;
}