Remove fwupd from the cloud images. LP: #1981109.

This commit is contained in:
Steve Langasek 2022-07-25 13:02:06 -07:00
parent abcfabdbc0
commit 941cd3c64a
2 changed files with 6 additions and 0 deletions

1
debian/changelog vendored
View File

@ -2,6 +2,7 @@ livecd-rootfs (2.771) UNRELEASED; urgency=medium
* Drop support for building i386 images aside from the launchpad builder
images.
* Remove fwupd from the cloud images. LP: #1981109.
-- Steve Langasek <steve.langasek@ubuntu.com> Mon, 25 Jul 2022 12:49:28 -0700

View File

@ -91,6 +91,11 @@ if [ -L "${rootd}/boot/initrd.img" ] && [ ! -e "${rootd}/boot/initrd.img" ]; the
rm "${rootd}/boot/initrd.img"
fi
# Recommends of ubuntu-server that should not be included in cloud images by
# default
_xchroot "$rootd" env DEBIAN_FRONTEND=noninteractive \
apt-get -y autoremove --purge fwupd
if [ "${SUBPROJECT:-}" = minimized ]; then
# Remove various packages that we don't want in the minimized images.
# Some of these are tools that don't make sense by default