diff -Nru livecd-rootfs-2.525.20/debian/changelog livecd-rootfs-2.525.21/debian/changelog --- livecd-rootfs-2.525.20/debian/changelog 2019-03-14 18:04:49.000000000 +0000 +++ livecd-rootfs-2.525.21/debian/changelog 2019-04-26 08:40:08.000000000 +0000 @@ -1,3 +1,9 @@ +livecd-rootfs (2.525.21) bionic; urgency=medium + + * Remove crufty files after minimize-manual (LP: #1826377) + + -- Julian Andres Klode Fri, 26 Apr 2019 10:40:08 +0200 + livecd-rootfs (2.525.20) bionic; urgency=medium [ Steve Langasek ] diff -Nru livecd-rootfs-2.525.20/live-build/auto/build livecd-rootfs-2.525.21/live-build/auto/build --- livecd-rootfs-2.525.20/live-build/auto/build 2019-03-14 18:04:45.000000000 +0000 +++ livecd-rootfs-2.525.21/live-build/auto/build 2019-04-26 08:40:08.000000000 +0000 @@ -254,10 +254,6 @@ apt-get -y --purge autoremove" fi - # remove crufty files that shouldn't be left in an image - rm -f chroot/var/cache/debconf/*-old chroot/var/lib/dpkg/*-old - Chroot chroot apt clean - if [ -f config/universe-enabled ]; then # This is cargo-culted almost verbatim (with some syntax changes for @@ -437,6 +433,10 @@ /usr/share/livecd-rootfs/minimize-manual chroot + # remove crufty files that shouldn't be left in an image + rm -f chroot/var/cache/debconf/*-old chroot/var/lib/dpkg/*-old + Chroot chroot apt clean + lb binary "$@" touch binary.success ) 2>&1 | tee binary.log