From 5af1a82d7125ab903c067f3cccfe78c9a921ac91 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 13 Mar 2013 22:15:47 +0100 Subject: Adding check for ntfs-3g on the host system, precluding the initial ntfs binary filesystem support (Closes: #697793). --- functions/defaults.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index bd5e46e81..66b9eec57 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1170,6 +1170,18 @@ Check_defaults () fi fi + case "${LB_BINARY_FILESYSTEM}" in + ntfs) + if [ ! -x "$(which ntfs-3g 2>/dev/null)" ] + then + Echo_error "Using ntfs as the binary filesystem is currently only supported" + Echo_error "if ntfs-3g is installed on the host system." + + exit 1 + fi + ;; + esac + if echo ${LB_HDD_LABEL} | grep -qs ' ' then Echo_error "There are currently no whitespaces supported in hdd labels." -- cgit v1.2.3