Accepting request 512470 from X11:XOrg

- fix usage of readlink in Xsession (boo#1050328)

- %post
  * make previous change in /etc/sysconfig/displaymanager instead
    of /var/adm/fillup-templates/sysconfig.displaymanager

- %post
  * Do no try to start Xserver on platforms which may ship without
    graphics card (bsc#1039497)

OBS-URL: https://build.opensuse.org/request/show/512470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2017-07-28 07:40:17 +00:00 committed by Git OBS Bridge
commit 3c1775e899
3 changed files with 29 additions and 2 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
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)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 6 13:20:21 UTC 2017 - sndirsch@suse.com Mon Feb 6 13:20:21 UTC 2017 - sndirsch@suse.com

View File

@ -179,6 +179,14 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm
%service_add_post display-manager.service %service_add_post display-manager.service
%{fillup_only -n displaymanager} %{fillup_only -n displaymanager}
%endif %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 %pre
%if !0%{?suse_version} < 1315 %if !0%{?suse_version} < 1315

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:a2bf6b280a31f4a00954670b064abae45da0c76c785c845d712169f38e11af00 oid sha256:d59ef63f70affbfc4311270cebcb14efdf08e65cbe520fe8bb013a6cd4d55f0b
size 22930 size 22914