[neon/neon/livecd-rootfs/Neon/release] /: Remove fwupd from the cloud images. LP: #1981109.

Steve Langasek null at kde.org
Mon Nov 28 10:16:27 GMT 2022


Git commit 3fe7a19c5211772db7a679a17b61418070600571 by Steve Langasek.
Committed on 18/11/2022 at 22:51.
Pushed by jriddell into branch 'Neon/release'.

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

M  +6    -0    debian/changelog
M  +5    -0    live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot

https://invent.kde.org/neon/neon/livecd-rootfs/commit/3fe7a19c5211772db7a679a17b61418070600571

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 <steve.langasek at ubuntu.com>  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



More information about the Neon-commits mailing list