From 6442b5d60ba43e9047384283d59043f209f74b78 Mon Sep 17 00:00:00 2001 From: Evan Dandrea Date: Thu, 19 Nov 2009 14:57:06 -0600 Subject: [PATCH] Don't output a newline in filesystem.size. --- debian/changelog | 6 ++++++ livecd.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index cbcc08b2..c6e3858e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (1.102) UNRELEASED; urgency=low + + * Don't output a newline in filesystem.size. + + -- Evan Dandrea Thu, 19 Nov 2009 14:56:27 -0600 + livecd-rootfs (0.101) lucid; urgency=low * Write out the total size of uncompressed squashfs to be used by diff --git a/livecd.sh b/livecd.sh index 22e9b645..6645b7c9 100755 --- a/livecd.sh +++ b/livecd.sh @@ -618,7 +618,7 @@ Pin-Priority: 550 # . However, we would like to cache this # number for partman's sufficient free space check and ubiquity's # installation progress calculation. - du -sx --block-size=1 ${ROOT} | cut -f1 > livecd.${FSS}.size || true + printf $(du -sx --block-size=1 ${ROOT} | cut -f1) > livecd.${FSS}.size || true livefs_squash() {