aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-03-01 06:31:29 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-03-01 06:33:04 -0500
commit832be6c09825486a3d6ea8cc9a5e001a59e114f3 (patch)
tree24ede6ce7a06d11ef6e35b3fa64010ee9fc31a09 /config.sh
parentcd8fae15469e47690bab7057ea8d7ca75f118d4f (diff)
downloadkiwi-descriptions-832be6c09825486a3d6ea8cc9a5e001a59e114f3.tar.gz
kiwi-descriptions-832be6c09825486a3d6ea8cc9a5e001a59e114f3.zip
config.sh: Configure the Xfce polkit agent to run on SoaS
The Xfce polkit agent configuration was missed in the initial port from the kickstarts.
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index 9f49ffd..8795ede 100755
--- a/config.sh
+++ b/config.sh
@@ -295,6 +295,14 @@ KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
sed -i -r 's/(omit_dracutmodules\+\=.*) plymouth (.*)/\1 \2/' /etc/dracut.conf.d/99-liveos.conf
dracut --force-add plymouth -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
+# Fix https://bugzilla.redhat.com/show_bug.cgi?id=2239137
+cat > /etc/xdg/autostart/xfce-polkit.desktop <<EOF
+[Desktop Entry]
+Type=Application
+Name=xfce-polkit
+Exec=/usr/libexec/xfce-polkit
+EOF
+
fi
if [[ "$kiwi_profiles" == *"FEX"* ]]; then