Accepting request 595767 from home:bfrogers:branches:Virtualization
- fix qemu-ga service file name (bsc#1089067) OBS-URL: https://build.opensuse.org/request/show/595767 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=405
This commit is contained in:
parent
870785490c
commit
727e799ab8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 10 10:50:31 UTC 2018 - kwalter@suse.com
|
||||||
|
|
||||||
|
- fix qemu-ga service file name (bsc#1089067)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 5 21:33:37 UTC 2018 - brogers@suse.com
|
Thu Apr 5 21:33:37 UTC 2018 - brogers@suse.com
|
||||||
|
|
||||||
|
@ -1288,7 +1288,7 @@ install -D -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/kvm_stat.1.gz
|
|||||||
%endif
|
%endif
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
||||||
%endif
|
%endif
|
||||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga.service
|
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
||||||
%endif
|
%endif
|
||||||
@ -1342,19 +1342,19 @@ fi
|
|||||||
|
|
||||||
%pre guest-agent
|
%pre guest-agent
|
||||||
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm
|
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm
|
||||||
%service_add_pre qemu-ga.service
|
%service_add_pre qemu-ga@.service
|
||||||
|
|
||||||
%preun guest-agent
|
%preun guest-agent
|
||||||
%service_del_preun qemu-ga.service
|
%service_del_preun qemu-ga@.service
|
||||||
|
|
||||||
%post guest-agent
|
%post guest-agent
|
||||||
%service_add_post qemu-ga.service
|
%service_add_post qemu-ga@.service
|
||||||
if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then
|
if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then
|
||||||
/usr/bin/systemctl start qemu-ga.service || :
|
/usr/bin/systemctl start qemu-ga@virtio\\x2dports-org.qemu.guest_agent.0.service || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun guest-agent
|
%postun guest-agent
|
||||||
%service_del_postun qemu-ga.service
|
%service_del_postun qemu-ga@.service
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
%pre ksm
|
%pre ksm
|
||||||
@ -1603,7 +1603,7 @@ fi
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_mandir/man8/qemu-ga.8.gz
|
%_mandir/man8/qemu-ga.8.gz
|
||||||
%attr(0755,root,kvm) %_bindir/qemu-ga
|
%attr(0755,root,kvm) %_bindir/qemu-ga
|
||||||
%{_unitdir}/qemu-ga.service
|
%{_unitdir}/qemu-ga@.service
|
||||||
%{_udevrulesdir}/80-qemu-ga.rules
|
%{_udevrulesdir}/80-qemu-ga.rules
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 10 10:50:31 UTC 2018 - kwalter@suse.com
|
||||||
|
|
||||||
|
- fix qemu-ga service file name (bsc#1089067)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 5 21:33:37 UTC 2018 - brogers@suse.com
|
Thu Apr 5 21:33:37 UTC 2018 - brogers@suse.com
|
||||||
|
|
||||||
|
14
qemu.spec
14
qemu.spec
@ -1288,7 +1288,7 @@ install -D -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/kvm_stat.1.gz
|
|||||||
%endif
|
%endif
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
||||||
%endif
|
%endif
|
||||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga.service
|
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
||||||
%endif
|
%endif
|
||||||
@ -1342,19 +1342,19 @@ fi
|
|||||||
|
|
||||||
%pre guest-agent
|
%pre guest-agent
|
||||||
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm
|
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm
|
||||||
%service_add_pre qemu-ga.service
|
%service_add_pre qemu-ga@.service
|
||||||
|
|
||||||
%preun guest-agent
|
%preun guest-agent
|
||||||
%service_del_preun qemu-ga.service
|
%service_del_preun qemu-ga@.service
|
||||||
|
|
||||||
%post guest-agent
|
%post guest-agent
|
||||||
%service_add_post qemu-ga.service
|
%service_add_post qemu-ga@.service
|
||||||
if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then
|
if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then
|
||||||
/usr/bin/systemctl start qemu-ga.service || :
|
/usr/bin/systemctl start qemu-ga@virtio\\x2dports-org.qemu.guest_agent.0.service || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun guest-agent
|
%postun guest-agent
|
||||||
%service_del_postun qemu-ga.service
|
%service_del_postun qemu-ga@.service
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
%pre ksm
|
%pre ksm
|
||||||
@ -1603,7 +1603,7 @@ fi
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_mandir/man8/qemu-ga.8.gz
|
%_mandir/man8/qemu-ga.8.gz
|
||||||
%attr(0755,root,kvm) %_bindir/qemu-ga
|
%attr(0755,root,kvm) %_bindir/qemu-ga
|
||||||
%{_unitdir}/qemu-ga.service
|
%{_unitdir}/qemu-ga@.service
|
||||||
%{_udevrulesdir}/80-qemu-ga.rules
|
%{_udevrulesdir}/80-qemu-ga.rules
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
|
14
qemu.spec.in
14
qemu.spec.in
@ -1131,7 +1131,7 @@ install -D -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1/kvm_stat.1.gz
|
|||||||
%endif
|
%endif
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/80-kvm.rules
|
||||||
%endif
|
%endif
|
||||||
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga.service
|
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/qemu-ga@.service
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
|
||||||
%endif
|
%endif
|
||||||
@ -1185,19 +1185,19 @@ fi
|
|||||||
|
|
||||||
%pre guest-agent
|
%pre guest-agent
|
||||||
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm
|
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm
|
||||||
%service_add_pre qemu-ga.service
|
%service_add_pre qemu-ga@.service
|
||||||
|
|
||||||
%preun guest-agent
|
%preun guest-agent
|
||||||
%service_del_preun qemu-ga.service
|
%service_del_preun qemu-ga@.service
|
||||||
|
|
||||||
%post guest-agent
|
%post guest-agent
|
||||||
%service_add_post qemu-ga.service
|
%service_add_post qemu-ga@.service
|
||||||
if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then
|
if [ -e /dev/virtio-ports/org.qemu.guest_agent.0 ]; then
|
||||||
/usr/bin/systemctl start qemu-ga.service || :
|
/usr/bin/systemctl start qemu-ga@virtio\\x2dports-org.qemu.guest_agent.0.service || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun guest-agent
|
%postun guest-agent
|
||||||
%service_del_postun qemu-ga.service
|
%service_del_postun qemu-ga@.service
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
%pre ksm
|
%pre ksm
|
||||||
@ -1446,7 +1446,7 @@ fi
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_mandir/man8/qemu-ga.8.gz
|
%_mandir/man8/qemu-ga.8.gz
|
||||||
%attr(0755,root,kvm) %_bindir/qemu-ga
|
%attr(0755,root,kvm) %_bindir/qemu-ga
|
||||||
%{_unitdir}/qemu-ga.service
|
%{_unitdir}/qemu-ga@.service
|
||||||
%{_udevrulesdir}/80-qemu-ga.rules
|
%{_udevrulesdir}/80-qemu-ga.rules
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
%if 0%{?is_opensuse}
|
||||||
|
Loading…
Reference in New Issue
Block a user