Clean up the chroot tree before trying to remove it, just in case

there's some leftover junk from a previous failed build.
ubuntu/precise
Colin Watson 16 years ago
parent 290c4c0515
commit 180d643a8f

5
debian/changelog vendored

@ -1,8 +1,13 @@
livecd-rootfs (0.87) UNRELEASED; urgency=low livecd-rootfs (0.87) UNRELEASED; urgency=low
[ Timo Aaltonen ]
* livecd.sh: Don't mess with xorg.conf anymore, we don't install one * livecd.sh: Don't mess with xorg.conf anymore, we don't install one
by default. by default.
[ Colin Watson ]
* Clean up the chroot tree before trying to remove it, just in case
there's some leftover junk from a previous failed build.
-- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 30 Jun 2009 23:20:20 +0300 -- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 30 Jun 2009 23:20:20 +0300
livecd-rootfs (0.86) karmic; urgency=low livecd-rootfs (0.86) karmic; urgency=low

@ -160,6 +160,9 @@ for FS in "$@"; do
select_mirror select_mirror
# Just in case there's some leftover junk here:
cleanup 2>/dev/null || true
rm -rf ${ROOT} rm -rf ${ROOT}
mkdir -p ${ROOT}var/cache/debconf mkdir -p ${ROOT}var/cache/debconf

Loading…
Cancel
Save