[SCM] debian-live/live-helper branch, master, updated. 1.0_a32-1-5-gacff181

Daniel Baumann daniel at debian.org
Fri Oct 19 16:29:29 UTC 2007


The branch, master has been updated
       via  acff181e6333020449a067803b348ccd55668721 (commit)
      from  24767fd736ed94733afe7b238c7eb643a12a8032 (commit)


- Shortlog ------------------------------------------------------------
acff181 Setting default union filesystem to for etch to unionfs.

Summary of changes:
 functions/defaults.sh |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit acff181e6333020449a067803b348ccd55668721
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Oct 19 18:28:35 2007 +0200

    Setting default union filesystem to for etch to unionfs.

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
 

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list