diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-10-02 20:40:00 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-10-02 20:40:00 +0200 |
commit | 2a991852ade4de5ab6ea355a1f2996edb106d08d (patch) | |
tree | 2f283f9b16d8c4be187104f42bda34a1107a91d4 /backend/modules/hdmap | |
parent | 33971cd8be712ea7042ff6063ee478abaee5cc08 (diff) | |
download | acritoxinstaller-2a991852ade4de5ab6ea355a1f2996edb106d08d.zip acritoxinstaller-2a991852ade4de5ab6ea355a1f2996edb106d08d.tar.gz |
fix estimated min size when using gfxoverlay
Diffstat (limited to 'backend/modules/hdmap')
-rw-r--r-- | backend/modules/hdmap | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/backend/modules/hdmap b/backend/modules/hdmap index ea98dd1..7be2818 100644 --- a/backend/modules/hdmap +++ b/backend/modules/hdmap @@ -30,16 +30,6 @@ function is_disk() return 1 } -# Synopsis: calculate_min_space -# -# This function estimates the minimum space needed for a hdinstall -function calculate_min_space() -{ - ESTIMATED_ROOT_MIN=$(df -m "/live/filesystem" | tail -1 | gawk '{print $3}') - grep -q squashfs /proc/mounts && ESTIMATED_ROOT_MIN=$(($ESTIMATED_ROOT_MIN*270/100)) - export ESTIMATED_ROOT_MIN -} - # Synopsis: handle_mountpoint_demands <device> # # This function handles the demands of the mountpoints (data from function mountpoint_demands) |