Correcterd criterion for enabling CHRP partition entry.

This commit is contained in:
2012-06-12 21:58:55 +02:00
parent c166a49889
commit 3a60720099
2 changed files with 4 additions and 2 deletions

View File

@ -2030,8 +2030,7 @@ static int partprepend_writer_compute_data_blocks(IsoImageWriter *writer)
t->curblock += t->efi_boot_part_size;
}
if ((((t->system_area_options >> 10) & 0xf) == 1) &&
((t->system_area_options >> 2) & 0x3f) == 0) {
if ((t->system_area_options & 0x3cff) == 0x0400) {
/* CHRP is not compatible with any other partition in MBR */
if (t->prep_partition != NULL || t->fat || will_have_gpt ||
t->mbr_req_count > 0)