From acb68b38e5a1dcff292df93eddb1d4e8cedffcc6 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Thu, 14 Feb 2013 12:13:56 +0100
Subject: updated squashfs compression level for estimating needed space

---
 backend/modules/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/modules/init b/backend/modules/init
index 01f9de3..5e3f28e 100644
--- a/backend/modules/init
+++ b/backend/modules/init
@@ -26,7 +26,7 @@ function init_installer()
 		[ "$LOOPDEV" ] && mount -o ro "$LOOPDEV" /live/filesystem
 	fi
         ESTIMATED_ROOT_MIN=$(df -m "$LOOPDEV" | tail -1 | gawk '{print $3}')
-        grep -q squashfs /proc/mounts && ESTIMATED_ROOT_MIN=$(($ESTIMATED_ROOT_MIN*270/100))
+        grep -q squashfs /proc/mounts && ESTIMATED_ROOT_MIN=$(($ESTIMATED_ROOT_MIN*320/100))
         export ESTIMATED_ROOT_MIN
 	cfg_set hostname "${FLL_DISTRO_NAME}Box"
 }
-- 
cgit v1.0