mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
purging initramfs-tools as a prereq
This commit is contained in:
commit
3a092539ca
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,5 +1,6 @@
|
|||||||
livecd-rootfs (2.477) UNRELEASED; urgency=medium
|
livecd-rootfs (2.477) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Purge initramfs-tools from minimized images.
|
||||||
* 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.
|
||||||
@ -11,7 +12,7 @@ livecd-rootfs (2.477) UNRELEASED; urgency=medium
|
|||||||
for any of the current minimal images), rather than being included
|
for any of the current minimal images), rather than being included
|
||||||
directly in the cloud-image seed.
|
directly in the cloud-image seed.
|
||||||
|
|
||||||
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Oct 2017 14:18:45 -0400
|
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Oct 2017 17:14:58 -0400
|
||||||
|
|
||||||
livecd-rootfs (2.476) artful; urgency=medium
|
livecd-rootfs (2.476) artful; urgency=medium
|
||||||
|
|
||||||
|
@ -210,6 +210,22 @@ EOF
|
|||||||
|
|
||||||
lb chroot "$@"
|
lb chroot "$@"
|
||||||
|
|
||||||
|
if [ "${SUBPROJECT:-}" = minimized ]; then
|
||||||
|
# force removal of initramfs-tools, which we assert is not
|
||||||
|
# required for any minimized images but is still pulled in by
|
||||||
|
# default
|
||||||
|
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||||
|
apt-get -y purge initramfs-tools"
|
||||||
|
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||||
|
apt-mark auto busybox-initramfs busybox-static"
|
||||||
|
# temporary workaround: don't remove linux-base which
|
||||||
|
# may have no other reverse-depends currently
|
||||||
|
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||||
|
apt-mark manual linux-base"
|
||||||
|
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||||
|
apt-get -y --purge autoremove"
|
||||||
|
fi
|
||||||
|
|
||||||
# remove crufty files that shouldn't be left in an image
|
# 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 chroot apt clean
|
Chroot chroot apt clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user