summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index bfc2694..715e568 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -299,7 +299,15 @@ Set_defaults ()
LH_CHROOT_FILESYSTEM="${LH_CHROOT_FILESYSTEM:-squashfs}"
# Setting union filesystem
- LH_UNION_FILESYSTEM="${LH_UNION_FILESYSTEM:-aufs}"
+ if [ -z "${LH_UNION_FILESYSTEM}" ]
+ then
+ if [ "${LH_DISTRIBUTION}" = "etch" ]
+ then
+ LH_UNION_FILESYSTEM="unionfs"
+ else
+ LH_UNION_FILESYSTEM="aufs"
+ fi
+ fi
# LH_HOOKS