mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 10:51:11 +00:00
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.
This commit is contained in:
parent
3fe7a19c52
commit
481920f28b
@ -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…
x
Reference in New Issue
Block a user