From 9e60f6366a84048df49f7b3bd68adff33cfa23a0 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 19 Mar 2018 15:56:04 +0100 Subject: [PATCH] Fixup gdm support --- xorg-x11-drv-nvidia.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index a83c8e3..86d5bc2 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -404,7 +404,9 @@ if [ "$1" -eq "1" ]; then %if 0%{?fedora} || 0%{?rhel} >= 7 sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts} /g' /etc/default/grub %endif -%if 0%{?fedora} && 0%{?fedora} < 28 +# Until mutter enable egl stream support, we need to disable gdm wayland +# https://bugzilla.redhat.com/1462052 +%if 0%{?fedora} if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/' %{_sysconfdir}/gdm/custom.conf fi