summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/defaults.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 71769cf..9f6d1ab 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -821,4 +821,17 @@ Check_defaults ()
;;
esac
fi
+
+ if [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
+ then
+ # grub or yaboot + usb-hdd
+ case "${LH_BOOTLOADER}" in
+ grub|yaboot)
+ Echo_warning "You have selected a combination of bootloader and image type that is currently"
+ Echo_warning "not supported by live-helper. Please use either another bootloader or a"
+ Echo_warning "different image type."
+ exit 1
+ ;;
+ esac
+ fi
}