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