diff --git a/xdm.changes b/xdm.changes index 040df54..ed6fca3 100644 --- a/xdm.changes +++ b/xdm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 9 16:46:58 UTC 2018 - sndirsch@suse.com + +- check for available graphics during runtime instead of %post, + since %post may already run during image building time in our + buildsystem (boo#1039497) + ------------------------------------------------------------------- Mon Feb 26 19:24:04 UTC 2018 - sndirsch@suse.com diff --git a/xdm.spec b/xdm.spec index 8b07951..6790a22 100644 --- a/xdm.spec +++ b/xdm.spec @@ -217,14 +217,6 @@ touch %{buildroot}%{_libexecdir}/X11/displaymanagers/console %service_add_post display-manager.service %{fillup_only -n displaymanager} %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" \ - %{_sysconfdir}/sysconfig/displaymanager -fi -%endif %if 0%{?suse_version} >= 1330 %{_sbindir}/update-alternatives --install %{_libexecdir}/X11/displaymanagers/default-displaymanager \ default-displaymanager %{_libexecdir}/X11/displaymanagers/console 5 diff --git a/xdm.tar.bz2 b/xdm.tar.bz2 index b1ace0e..11b839e 100644 --- a/xdm.tar.bz2 +++ b/xdm.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5358018905e24cd25d161bf97d61b0a247fb8a2fe14a4f8318c97cf6a81aab2c -size 23875 +oid sha256:555f89ea66078c531dbf8d27bb44a07452580b88de2f21bf7580149d4d8b41b3 +size 24065