diff options
author | Cody A.W. Somerville <cody.somerville@canonical.com> | 2009-11-12 06:43:35 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:48 +0100 |
commit | 605af5262385ef9743066562b1682b888a6cb00b (patch) | |
tree | dcaa4c408587b23903eb2b266903d1f63d66fdb3 /functions | |
parent | f8b187c7a99eb6a180dccc127bd89f77077b1747 (diff) | |
download | live-build-605af5262385ef9743066562b1682b888a6cb00b.zip live-build-605af5262385ef9743066562b1682b888a6cb00b.tar.gz |
Fixing intermittent truncating of filesystem.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/losetup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh index 51f5426..1b1f61f 100755 --- a/functions/losetup.sh +++ b/functions/losetup.sh @@ -44,9 +44,9 @@ Calculate_partition_size () PERCENT="5" ;; *) - PERCENT="2" + PERCENT="3" ;; esac - echo $(expr ${ORIGINAL_SIZE} + ${ORIGINAL_SIZE} \* ${PERCENT} / 100) + echo $(expr ${ORIGINAL_SIZE} + ${ORIGINAL_SIZE} \* ${PERCENT} / 100 + 1) } |