Also remove old dpkg files from the live images

ubuntu/cosmic
Steve Langasek 7 years ago
parent 51890b5b43
commit f91a9f16ee

3
debian/changelog vendored

@ -3,7 +3,8 @@ livecd-rootfs (2.477) UNRELEASED; urgency=medium
* Purge initramfs-tools from minimized images.
* Remove boot/grub leftovers from our root squashfs, left behind after
grub purge.
* Remove apt, debconf cruft files from /var/cache in all our livefses.
* Remove apt, debconf, dpkg cruft files from /var/cache and /var/lib in all
our livefses.
* Pass --cache false to lb config; otherwise we copy around caches of
.debs that are never used properly, and which prevent us from emptying
/var/cache/apt in images.

@ -226,7 +226,7 @@ EOF
fi
# remove crufty files that shouldn't be left in an image
rm -f chroot/var/cache/debconf/*-old
rm -f chroot/var/cache/debconf/*-old chroot/var/lib/dpkg/*-old
Chroot chroot apt clean
if [ -f config/oem-config-preinstalled ]; then

Loading…
Cancel
Save