Recording the need for boot-info-table and grub2-boot-info

in El Torito images which get defined by commands rather
than being loaded from an ISO filesystem.
This commit is contained in:
Thomas Schmitt 2014-10-11 14:31:13 +02:00
parent a22c16d5ef
commit 6ed2404420

View File

@ -206,6 +206,8 @@ void el_torito_patch_isolinux_image(ElToritoBootImage *bootimg)
int el_torito_set_isolinux_options(ElToritoBootImage *bootimg, int options, int flag)
{
bootimg->isolinux_options = (options & 0x03ff);
bootimg->seems_boot_info_table = !!(options & 1);
bootimg->seems_grub2_boot_info = !!(options & (1 << 9));
return ISO_SUCCESS;
}