summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-15 16:27:35 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:35 +0100
commitcc8092771ea2b95cc8e328b7e7042d404379534c (patch)
tree6e24abc44ababfbe1f7f644a505f43cbdc03a4ad /functions
parentc96228be81fcf23eb7a50e1dbba59bd6f5455627 (diff)
downloadlive-build-cc8092771ea2b95cc8e328b7e7042d404379534c.zip
live-build-cc8092771ea2b95cc8e328b7e7042d404379534c.tar.gz
Add support for usb-hdd on sparc (requires parted 1.8 from experimental).
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index f213c81..d4c12da 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -488,7 +488,14 @@ Set_defaults ()
## config/binary
# Setting image filesystem
- LH_BINARY_FILESYSTEM="${LH_BINARY_FILESYSTEM:-fat16}"
+ case "${LH_ARCHITECTURE}" in
+ sparc)
+ LH_BINARY_FILESYSTEM="${LH_BINARY_FILESYSTEM:-ext2}"
+ ;;
+ *)
+ LH_BINARY_FILESYSTEM="${LH_BINARY_FILESYSTEM:-fat16}"
+ ;;
+ esac
# Setting image type
LH_BINARY_IMAGES="${LH_BINARY_IMAGES:-iso}"