[SCM] live-helper branch, master, updated. 1.0.5-2-63-gda3407e

Daniel Baumann daniel at debian.org
Thu Nov 12 05:45:31 UTC 2009


The following commit has been merged in the master branch:
commit da3407e395bf9e17aedd3b95ba7560daa4a0c570
Author: Cody A.W. Somerville <cody.somerville at canonical.com>
Date:   Thu Nov 12 06:43:35 2009 +0100

    Fixing intermittent truncating of filesystem.

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)
 }

-- 
live-helper



More information about the debian-live-changes mailing list