From 07f3e48c2804ad0a8fe75e4f8397a9ef7a5f3ab5 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 4 Sep 2020 17:07:44 -0700 Subject: [PATCH] runtime-install: specify polkit-gnome to avoid lxpolkit and GTK2 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 --- share/templates.d/99-generic/runtime-install.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/templates.d/99-generic/runtime-install.tmpl b/share/templates.d/99-generic/runtime-install.tmpl index 33f07985..99624156 100644 --- a/share/templates.d/99-generic/runtime-install.tmpl +++ b/share/templates.d/99-generic/runtime-install.tmpl @@ -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