summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-09-07 15:41:36 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:41 +0100
commitf5fc8b9c9f8f60e7d8c4b4eaa7ee17d8451d1e55 (patch)
tree50455c3f7f3879246e7b21d0797a54249daba7cf /functions
parent8d373e005b776d56a327385d1569883758d5af21 (diff)
downloadvyos-live-build-f5fc8b9c9f8f60e7d8c4b4eaa7ee17d8451d1e55.tar.gz
vyos-live-build-f5fc8b9c9f8f60e7d8c4b4eaa7ee17d8451d1e55.zip
Warn when using syslinux with a non-FAT LH_BINARY_FILESYSTEM.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 54d28f150..b36f1d080 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
}