make sure we have no old squashfs around before attempting to run mksquashfs

This commit is contained in:
Oliver Grawert 2009-12-07 11:30:21 +01:00
parent e86906f342
commit 0a8cb0908a
2 changed files with 10 additions and 0 deletions

7
debian/changelog vendored
View File

@ -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 <ogra@ubuntu.com> Mon, 07 Dec 2009 11:27:50 +0100
livecd-rootfs (1.102) lucid; urgency=low
* Don't output a newline in filesystem.size.

View File

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