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.
ubuntu/cosmic
Steve Langasek 7 years ago
parent 783437f533
commit d24ca0490b

3
debian/changelog vendored

@ -4,6 +4,9 @@ livecd-rootfs (2.477) UNRELEASED; urgency=medium
* Remove boot/grub leftovers from our root squashfs, left behind after * Remove boot/grub leftovers from our root squashfs, left behind after
grub purge. grub purge.
* Remove apt, debconf cruft files from /var/cache in all our livefses. * Remove apt, debconf cruft files from /var/cache 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.
* When building minimized cloud images, remove various packages that we * When building minimized cloud images, remove various packages that we
don't want installed by default. Some are tools that aren't needed for don't want installed by default. Some are tools that aren't needed for
non-interactive use; some are libraries whose reverse-dependencies non-interactive use; some are libraries whose reverse-dependencies

@ -694,6 +694,7 @@ lb config noauto \
--initsystem none \ --initsystem none \
--bootloader "$BOOTLOADER" \ --bootloader "$BOOTLOADER" \
--initramfs-compression lzma \ --initramfs-compression lzma \
--cache false \
${BOOTAPPEND_LIVE:+--bootappend-live "$BOOTAPPEND_LIVE"} \ ${BOOTAPPEND_LIVE:+--bootappend-live "$BOOTAPPEND_LIVE"} \
$OPTS \ $OPTS \
"$@" "$@"

Loading…
Cancel
Save