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.
This commit is contained in:
Steve Langasek 2017-10-13 22:15:38 -04:00
parent 783437f533
commit d24ca0490b
2 changed files with 4 additions and 0 deletions

3
debian/changelog vendored
View File

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

View File

@ -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 \
"$@" "$@"