summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-15 16:27:35 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-15 16:27:35 +0100
commitbe0f6ae8a4d482c2ddf326a16677c7c4ad960e1c (patch)
tree6e24abc44ababfbe1f7f644a505f43cbdc03a4ad /functions
parent343497ad9865d9b8971229948f5d45f2a4cc60ac (diff)
downloadvyos-live-build-be0f6ae8a4d482c2ddf326a16677c7c4ad960e1c.tar.gz
vyos-live-build-be0f6ae8a4d482c2ddf326a16677c7c4ad960e1c.zip
Add support for usb-hdd on sparc (requires parted 1.8 from experimental).
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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 f213c815d..d4c12dacc 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}"