Accepting request 239539 from home:fcrozat:branches:Virtualization
- Enable systemd service at initial install, it is needed for udev rules to properly start the agent. OBS-URL: https://build.opensuse.org/request/show/239539 OBS-URL: https://build.opensuse.org/package/show/Virtualization/spice-vdagent?expand=0&rev=6
This commit is contained in:
parent
74fbe70d53
commit
b4790d3ec6
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 14:10:31 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
- Enable systemd service at initial install, it is needed for
|
||||
udev rules to properly start the agent.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 08:45:45 CEST 2014 - ohering@suse.de
|
||||
|
||||
|
@ -67,11 +67,19 @@ rm -rf %{buildroot}%{_sysconfdir}/rsyslog.d
|
||||
# create rc symlink
|
||||
ln -s service %{buildroot}%{_sbindir}/rcspice-vdagentd
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/gdm/greeter/autostart
|
||||
|
||||
mv %{buildroot}%{_datadir}/gdm/autostart/LoginWindow/*.desktop %{buildroot}%{_datadir}/gdm/greeter/autostart
|
||||
rm -fr %{buildroot}%{_datadir}/gdm/autostart
|
||||
|
||||
%pre
|
||||
%service_add_pre spice-vdagentd.service
|
||||
|
||||
%post
|
||||
%service_add_post spice-vdagentd.service
|
||||
if [ "$1" -eq 1 ]; then
|
||||
systemctl -q enable spice-vdagentd.service || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
%service_del_preun spice-vdagentd.service
|
||||
|
Loading…
Reference in New Issue
Block a user