Add xfce-polkit to SOAS

Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
This commit is contained in:
Chihurumnaya Ibiam 2023-10-26 14:47:12 +01:00 committed by Adam Williamson
parent b1e4e49696
commit 51eec3f2c3
2 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,14 @@
%post
# 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
# set livesys session type
sed -i 's/^livesys_session=.*/livesys_session="soas"/' /etc/sysconfig/livesys

View File

@ -65,6 +65,9 @@ livecd-tools
-plymouth-system-theme
-plymouth-theme-charge
# Install XFCE polkit
xfce-polkit
%end
%post