Setting default union filesystem to for etch to unionfs.

This commit is contained in:
Daniel Baumann 2007-10-19 18:28:35 +02:00
parent b42ba83688
commit 2a75e5b712
1 changed files with 9 additions and 1 deletions

View File

@ -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