From 6ed240442063703609e69fae9271c1d4d944f97e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 11 Oct 2014 14:31:13 +0200 Subject: [PATCH] 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. --- libisofs/eltorito.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libisofs/eltorito.c b/libisofs/eltorito.c index 29e740b..74f055c 100644 --- a/libisofs/eltorito.c +++ b/libisofs/eltorito.c @@ -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; }