diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-03-13 22:15:47 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:07 +0200 |
commit | 5af1a82d7125ab903c067f3cccfe78c9a921ac91 (patch) | |
tree | 4710bf5eb0c509441be697566233be9d1abab2cc /functions/defaults.sh | |
parent | 17d85e14525ab2020515b1ae7eb39d358fad923a (diff) | |
download | vyos-live-build-5af1a82d7125ab903c067f3cccfe78c9a921ac91.tar.gz vyos-live-build-5af1a82d7125ab903c067f3cccfe78c9a921ac91.zip |
Adding check for ntfs-3g on the host system, precluding the initial ntfs binary filesystem support (Closes: #697793).
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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." |