Re-add the if-check that includes grub-gfx
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
485838e9a9
commit
97f4dcec81
1 changed files with 2 additions and 1 deletions
|
@ -209,7 +209,7 @@ command_iso () {
|
||||||
_imgcommon
|
_imgcommon
|
||||||
|
|
||||||
bootflags=""
|
bootflags=""
|
||||||
if [ "$PKGLIST" = "grub" ]; then
|
if [ "$PKGLIST" = "grub" -o "$PKGLIST" = "grub-gfx" ]; then
|
||||||
if [ ! -e "${work_dir}/iso/boot/grub/stage2_eltorito" ]; then
|
if [ ! -e "${work_dir}/iso/boot/grub/stage2_eltorito" ]; then
|
||||||
echo "error: grub stage files not found in '${work_dir}/iso/boot/grub'"
|
echo "error: grub stage files not found in '${work_dir}/iso/boot/grub'"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -227,6 +227,7 @@ command_iso () {
|
||||||
echo "No bootloader specified. Use the -p flag to specify"
|
echo "No bootloader specified. Use the -p flag to specify"
|
||||||
echo " Supported Bootloaders:"
|
echo " Supported Bootloaders:"
|
||||||
echo " grub"
|
echo " grub"
|
||||||
|
echo " grub-gfx"
|
||||||
echo " syslinux"
|
echo " syslinux"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue