summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2013-02-14 12:13:56 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-02-14 12:13:56 +0100
commitacb68b38e5a1dcff292df93eddb1d4e8cedffcc6 (patch)
treef4fcaf45da9712266c7b10ed8dcb09999eeafcdd /backend/modules
parent46ed2c7d2c0286755b3e79d3449f8b882275d2c0 (diff)
downloadacritoxinstaller-acb68b38e5a1dcff292df93eddb1d4e8cedffcc6.zip
acritoxinstaller-acb68b38e5a1dcff292df93eddb1d4e8cedffcc6.tar.gz
updated squashfs compression level for estimating needed space
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/init2
1 files changed, 1 insertions, 1 deletions
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"
}