summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-19 23:30:53 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-19 23:30:53 -0600
commit97f4dcec818f98a6580443f33f716342c05f2861 (patch)
treef8fe32a60a88d85f3c8bacbb2e279298f14bcb09
parent485838e9a93cd1fde3015c501a85b3cfdacb4580 (diff)
Re-add the if-check that includes grub-gfx
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xarchiso/mkarchiso3
1 files changed, 2 insertions, 1 deletions
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