From f5fc8b9c9f8f60e7d8c4b4eaa7ee17d8451d1e55 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 7 Sep 2008 15:41:36 +0100 Subject: Warn when using syslinux with a non-FAT LH_BINARY_FILESYSTEM. --- functions/defaults.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/functions/defaults.sh b/functions/defaults.sh index 54d28f1..b36f1d0 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -785,4 +785,16 @@ Check_defaults () Echo_warning "are re-used when integrating the Debian Installer." fi fi + + if [ "${LH_BOOTLOADER}" = "syslinux" ] + then + case "${LH_BINARY_FILESYSTEM}" in + fat*) + ;; + *) + Echo_warning "You have selected values of LH_BOOTLOADER and LH_BINARY_FILESYSTEM" + Echo_warning "which are incompatible - syslinux only supports FAT filesystems." + ;; + esac + fi } -- cgit v1.0