[SCM] Debian Live build scripts branch, master, updated. 1.0.0-2-37-g6824d83

Daniel Baumann daniel at debian.org
Thu Sep 11 07:25:50 UTC 2008


The following commit has been merged in the master branch:
commit 6824d83f6e4ced52b17f1040b219a91628b5a52c
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Sep 11 09:25:20 2008 +0200

    Simplyfing partition size check when enforcing fat32.

diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index c93e225..1ea80ae 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -99,7 +99,7 @@ then
 fi
 
 # Enforce fat32 if we have images in total bigger than 2GB
-if [ "${LH_BINARY_FILESYSTEM}" = "fat16" ] && [ "$(cd binary && du -s | awk '{ print $1 }')" -gt "1900000" ]
+if [ "${LH_BINARY_FILESYSTEM}" = "fat16" ] && [ "$(du -s binary | awk '{ print $1 }')" -gt "1900000" ]
 then
 	Echo_warning "FAT16 doesn't support partitions larger than 2GB, automatically enforcing FAT32"
 

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list