Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xdm for openSUSE:Factory checked in at 2021-11-22 23:03:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xdm (Old) and /work/SRC/openSUSE:Factory/.xdm.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xdm" Mon Nov 22 23:03:52 2021 rev:91 rq:932566 version:1.1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/xdm/xdm.changes 2021-05-20 19:23:13.998400698 +0200 +++ /work/SRC/openSUSE:Factory/.xdm.new.1895/xdm.changes 2021-11-22 23:04:10.565933637 +0100 @@ -1,0 +2,7 @@ +Fri Nov 19 16:12:35 UTC 2021 - Stefan Dirsch <sndir...@suse.com> + +- %post: enable Xorg on s390x with virtio (Redhat PCI ID 1af4:1050) + via /etc/sysconfig/displaymanager on installation (but not upgrade) + by checking for existence of /dev/dri [JIRA#SLE-18632] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xdm.spec ++++++ --- /var/tmp/diff_new_pack.IZtyWR/_old 2021-11-22 23:04:12.125928402 +0100 +++ /var/tmp/diff_new_pack.IZtyWR/_new 2021-11-22 23:04:12.133928376 +0100 @@ -176,6 +176,16 @@ touch %{buildroot}%{_prefix}/lib/X11/displaymanagers/console %post +# enable Xorg on s390x with virtio (Redhat PCI ID 1af4:1050) on installation (but not upgrade) +if [ $1 -eq 1 ] ; then + if [ "$(arch)" == "s390x" ]; then + if [ -d /dev/dri ]; then + sed -i -e "s+DISPLAYMANAGER_REMOTE_ACCESS=.*+DISPLAYMANAGER_REMOTE_ACCESS=\"no\"+g" \ + -e "s+DISPLAYMANAGER_STARTS_XSERVER=.*+DISPLAYMANAGER_STARTS_XSERVER=\"yes\"+g" \ + %{_fillupdir}//sysconfig.displaymanager + fi + fi +fi %service_add_post display-manager.service %{fillup_only -n displaymanager} %{_sbindir}/update-alternatives --install %{_prefix}/lib/X11/displaymanagers/default-displaymanager \