From 7121db0b95b38dd5b3e0c956ce055e31d54cab2f Mon Sep 17 00:00:00 2001 From: maideii Date: Wed, 11 Oct 2017 10:48:56 +0800 Subject: [PATCH] added EFI 32bit support via GRUB2 - fixed Virtual config --- scripts/mkimage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/mkimage b/scripts/mkimage index 5aef3cd308..9cd8bcab32 100755 --- a/scripts/mkimage +++ b/scripts/mkimage @@ -318,7 +318,8 @@ fi # bootloader dd if="$DISK" of="${DISK/img/tmp}" bs=1M >"$SAVE_ERROR" 2>&1 || show_error # change syslinux default to 'run' echo "image: modifying fs on part1 for open virtual appliance..." - sed -i "/DEFAULT/ s/installer/run/" "$LE_TMP"/syslinux.cfg "$LE_TMP"/grub.cfg + sed -i "/DEFAULT/ s/installer/run/" "$LE_TMP"/syslinux.cfg + sed -i "/set default=/s/\"Installer\"/\"Run\"/" "$LE_TMP"/grub.cfg # FIXME: an unalias should work here, but it does not; call mcopy directly $TOOLCHAIN/bin/mcopy -i $LE_TMP/part1.fat -o "$LE_TMP"/syslinux.cfg ::/EFI/BOOT $TOOLCHAIN/bin/mcopy -i $LE_TMP/part1.fat -o "$LE_TMP"/syslinux.cfg ::