From 0a8cb0908afc024d70396e9cedc3091bcf66569d Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Mon, 7 Dec 2009 11:30:21 +0100 Subject: [PATCH] make sure we have no old squashfs around before attempting to run mksquashfs --- debian/changelog | 7 +++++++ livecd.sh | 3 +++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 57a1b80f..8bfd1892 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (1.103) UNRELEASED; urgency=low + + * make sure there is no old squashfs around before attempting to squash a + new one. + + -- Oliver Grawert Mon, 07 Dec 2009 11:27:50 +0100 + livecd-rootfs (1.102) lucid; urgency=low * Don't output a newline in filesystem.size. diff --git a/livecd.sh b/livecd.sh index 6645b7c9..0260edba 100755 --- a/livecd.sh +++ b/livecd.sh @@ -631,6 +631,9 @@ Pin-Priority: 550 : > livecd.${FSS}.sort fi + # make sure there is no old squashfs idling around + rm -f livecd.${FSS}.squashfs + mksquashfs ${ROOT} livecd.${FSS}.squashfs -sort livecd.${FSS}.sort chmod 644 livecd.${FSS}.squashfs }