From 3fe7a19c5211772db7a679a17b61418070600571 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 25 Jul 2022 13:02:06 -0700 Subject: [PATCH] Remove fwupd from the cloud images. LP: #1981109. --- debian/changelog | 6 ++++++ live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/debian/changelog b/debian/changelog index e5a140de..2de9235b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.765.12) UNRELEASED; urgency=medium + + * Remove fwupd from the cloud images. LP: #1981109. + + -- Steve Langasek Fri, 18 Nov 2022 14:50:52 -0800 + livecd-rootfs (2.765.11) jammy; urgency=medium * Rename FK_FORCE_CONTAINER into FK_FORCE as its role was extended to also diff --git a/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot index 3071e01b..d77ae6bb 100755 --- a/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot @@ -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