Provisory implementation of MIPS big endian Volume Header production.
For now it is mutually exclusive with El Torito production. It will always be mutually exclusive with MBR production.
This commit is contained in:
@@ -1091,6 +1091,10 @@ int eltorito_writer_compute_data_blocks(IsoImageWriter *writer)
|
||||
|
||||
t = writer->target;
|
||||
|
||||
/* >>> Preliminary: No El Torito with system area type other than MBR */
|
||||
if (t->system_area_options & 0xfc)
|
||||
return ISO_SUCCESS;
|
||||
|
||||
/* Patch the boot image info tables if indicated */
|
||||
for (idx = 0; idx < t->catalog->num_bootimages; idx++) {
|
||||
if (!(t->catalog->bootimages[idx]->isolinux_options & 0x01))
|
||||
@@ -1151,6 +1155,10 @@ int eltorito_writer_write_vol_desc(IsoImageWriter *writer)
|
||||
t = writer->target;
|
||||
cat = t->catalog;
|
||||
|
||||
/* >>> Preliminary: No El Torito with system area type other than MBR */
|
||||
if (t->system_area_options & 0xfc)
|
||||
return ISO_SUCCESS;
|
||||
|
||||
iso_msg_debug(t->image->id, "Write El-Torito boot record");
|
||||
|
||||
memset(&vol, 0, sizeof(struct ecma119_boot_rec_vol_desc));
|
||||
@@ -1225,6 +1233,10 @@ int eltorito_writer_create(Ecma119Image *target)
|
||||
}
|
||||
}
|
||||
|
||||
/* >>> Preliminary: No El Torito with system area type other than MBR */
|
||||
if (target->system_area_options & 0xfc)
|
||||
return ISO_SUCCESS;
|
||||
|
||||
/* we need the bootable volume descriptor */
|
||||
target->curblock++;
|
||||
return ISO_SUCCESS;
|
||||
|
Reference in New Issue
Block a user