Remove modemmanager and udisks2 from cloud images in addition to fwupd. The use of tasks at install means all packages are marked manually installed in the apt database, so removing fwupd does not remove its dependencies. LP: #1981109.

master-cpc-sshd-config-d-lp1968873
Steve Langasek 2 years ago
parent 0e3f689432
commit 239453d644

9
debian/changelog vendored

@ -1,3 +1,12 @@
livecd-rootfs (2.774) UNRELEASED; urgency=medium
* Remove modemmanager and udisks2 from cloud images in addition to fwupd.
The use of tasks at install means all packages are marked manually
installed in the apt database, so removing fwupd does not remove its
dependencies. LP: #1981109.
-- Steve Langasek <steve.langasek@ubuntu.com> Thu, 04 Aug 2022 11:20:51 -0700
livecd-rootfs (2.773) kinetic; urgency=medium
* When adding the new RISC-V platforms, some of the generic non-SUBARCH code

@ -93,8 +93,13 @@ fi
# Recommends of ubuntu-server that should not be included in cloud images by
# default
# unfortunately because we are currently installing ubuntu-server as a task,
# all of the recursive dependencies are marked as manually installed and are
# not subject to autoremoval. There is discussion of us stopping the use of
# tasks in livecd-rootfs but in the meantime, we have to also explicitly
# remove the packages providing the services
_xchroot "$rootd" env DEBIAN_FRONTEND=noninteractive \
apt-get -y autoremove --purge fwupd
apt-get -y autoremove --purge fwupd modemmanager udisks2
if [ "${SUBPROJECT:-}" = minimized ]; then
# Remove various packages that we don't want in the minimized images.

Loading…
Cancel
Save