mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-16 13:21:33 +00:00
Remove apt, debconf cruft files from /var/cache in all our livefses.
This commit is contained in:
parent
ad78957f01
commit
08a5fc58ba
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ 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.
|
||||||
|
|
||||||
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Oct 2017 14:18:45 -0400
|
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Oct 2017 14:18:45 -0400
|
||||||
|
|
||||||
|
@ -210,6 +210,10 @@ EOF
|
|||||||
|
|
||||||
lb chroot "$@"
|
lb chroot "$@"
|
||||||
|
|
||||||
|
# remove crufty files that shouldn't be left in an image
|
||||||
|
rm -f chroot/var/cache/debconf/*-old
|
||||||
|
Chroot chroot apt clean
|
||||||
|
|
||||||
if [ -f config/oem-config-preinstalled ]; then
|
if [ -f config/oem-config-preinstalled ]; then
|
||||||
|
|
||||||
# This is cargo-culted almost verbatim (with some syntax changes for
|
# This is cargo-culted almost verbatim (with some syntax changes for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user