Updating link to change in openSUSE:Factory/xdm revision 60.0

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=f14ac76e07673882a77916a2bc06a642
This commit is contained in:
OBS User buildservice-autocommit
2017-07-28 07:40:17 +00:00
committed by Git OBS Bridge
parent e67a4fc6ba
commit 52c7238da4
2 changed files with 27 additions and 0 deletions

View File

@@ -187,6 +187,14 @@ if ! [ -c /dev/fb* -o -d /dev/dri ]; then
/etc/sysconfig/displaymanager
fi
%endif
# Do no try to start Xserver on platforms which may ship without
# graphics card (bsc#1039497)
%ifarch aarch64 ppc64le
if ! [ -c /dev/fb* -o -d /dev/dri ]; then
sed -i -e "s+DISPLAYMANAGER_STARTS_XSERVER=.*+DISPLAYMANAGER_STARTS_XSERVER=\"no\"+g" \
/etc/sysconfig/displaymanager
fi
%endif
%pre
%if !0%{?suse_version} < 1315