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.
This commit is contained in:
@@ -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
|
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
|
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
|
fi
|
||||||
|
|
||||||
if [[ "$kiwi_profiles" == *"FEX"* ]]; then
|
if [[ "$kiwi_profiles" == *"FEX"* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user