diff --git a/debian/changelog b/debian/changelog index f5b9025f..87856c72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (0.101) UNRELEASED; urgency=low + + * Write out the total size of uncompressed squashfs to be used by + partman and ubiquity. + + -- Evan Dandrea Wed, 18 Nov 2009 12:08:48 -0600 + livecd-rootfs (0.100) karmic; urgency=low * UNR LIVELIST: list lupin-casper and laptop-detect explicitly and drop diff --git a/livecd.sh b/livecd.sh index 4b4107bc..22e9b645 100755 --- a/livecd.sh +++ b/livecd.sh @@ -614,6 +614,12 @@ Pin-Priority: 550 # else needs to be run in the chroot (umounting it earlier breaks rm): cleanup + # Squashfs does not report unpacked disk space usage, which is explained at + # . 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 + livefs_squash() { squashsort="http://people.ubuntu.com/~tfheen/livesort/${FSS}.list.${TARGETARCH}"