From 52c7238da4a0987457ee21d7c696f0cab20bfdb27d57f8fdd5a97d8a88e3d328 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 28 Jul 2017 07:40:17 +0000 Subject: [PATCH] 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 --- xdm.changes | 19 +++++++++++++++++++ xdm.spec | 8 ++++++++ 2 files changed, 27 insertions(+) diff --git a/xdm.changes b/xdm.changes index b52db0a..74071f4 100644 --- a/xdm.changes +++ b/xdm.changes @@ -13,6 +13,25 @@ Mon Jul 24 14:21:45 UTC 2017 - sndirsch@suse.com ------------------------------------------------------------------- Mon Jul 24 13:43:35 UTC 2017 - sndirsch@suse.com +- %post + * Do no try to start Xserver on platforms which may ship without + graphics card (bsc#1039497) + +------------------------------------------------------------------- +Tue Jul 25 09:58:56 UTC 2017 - sndirsch@suse.com + +- fix usage of readlink in Xsession (boo#1050328) + +------------------------------------------------------------------- +Mon Jul 24 14:21:45 UTC 2017 - sndirsch@suse.com + +- %post + * make previous change in /etc/sysconfig/displaymanager instead + of /var/adm/fillup-templates/sysconfig.displaymanager + +------------------------------------------------------------------- +Mon Jul 24 13:43:35 UTC 2017 - sndirsch@suse.com + - %post * Do no try to start Xserver on platforms which may ship without graphics card (bsc#1039497) diff --git a/xdm.spec b/xdm.spec index c77dbc3..ff7e152 100644 --- a/xdm.spec +++ b/xdm.spec @@ -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