- %post
* make previous change in /etc/sysconfig/displaymanager instead of /var/adm/fillup-templates/sysconfig.displaymanager OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=145
This commit is contained in:
parent
3491b2bf95
commit
83d1ec3cc2
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Mon Jul 24 13:43:35 UTC 2017 - sndirsch@suse.com
|
||||||
|
|
||||||
|
16
xdm.spec
16
xdm.spec
@ -173,20 +173,20 @@ chmod 0755 %{buildroot}%{_sbindir}/rcxdm
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# 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" \
|
|
||||||
var/adm/fillup-templates/sysconfig.displaymanager
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version} < 1315
|
%if 0%{?suse_version} < 1315
|
||||||
%{fillup_and_insserv -Y xdm}
|
%{fillup_and_insserv -Y xdm}
|
||||||
%else
|
%else
|
||||||
%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
|
||||||
|
Loading…
Reference in New Issue
Block a user