Skip to content

Commit

Permalink
runtime-install: specify polkit-gnome to avoid lxpolkit and GTK2
Browse files Browse the repository at this point in the history
blivet-gui-runtime requires PolicyKit-authentication-agent. If
we just let dnf pick what to satisfy that requirement with, it
picks lxpolkit, which requires gtk2. Specifying polkit-gnome
instead should I think give us a smaller footprint, its deps
seem quite small.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
  • Loading branch information
AdamWill authored and bcl committed Sep 14, 2020
1 parent ffc49fe commit f231e91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions share/templates.d/99-generic/runtime-install.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ installpkg libblockdev-lvm-dbus
installpkg volume_key
installpkg nss-tools

## blivet-gui-runtime requires PolicyKit-authentication-agent, if we
## don't tell dnf what to pick it picks lxpolkit, which drags in gtk2
installpkg polkit-gnome

## enable swap on zram
installpkg zram-generator-defaults

Expand Down

0 comments on commit f231e91

Please sign in to comment.