From 97f4dcec818f98a6580443f33f716342c05f2861 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 19 Dec 2008 23:30:53 -0600 Subject: Re-add the if-check that includes grub-gfx Signed-off-by: Aaron Griffin --- archiso/mkarchiso | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 46591af..9a27cb5 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -209,7 +209,7 @@ command_iso () { _imgcommon bootflags="" - if [ "$PKGLIST" = "grub" ]; then + if [ "$PKGLIST" = "grub" -o "$PKGLIST" = "grub-gfx" ]; then if [ ! -e "${work_dir}/iso/boot/grub/stage2_eltorito" ]; then echo "error: grub stage files not found in '${work_dir}/iso/boot/grub'" exit 1 @@ -227,6 +227,7 @@ command_iso () { echo "No bootloader specified. Use the -p flag to specify" echo " Supported Bootloaders:" echo " grub" + echo " grub-gfx" echo " syslinux" exit 1 fi -- cgit v1.2.3-70-g09d2