Drop ConditionVirtualization and WantedBy in units (#1331577)
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
This commit is contained in:
parent
0ce7815ea3
commit
1f9ef4b2ea
@ -184,7 +184,10 @@ mkdir -p %{buildroot}%{_sharedstatedir}/hyperv
|
|||||||
|
|
||||||
|
|
||||||
%post -n hypervkvpd
|
%post -n hypervkvpd
|
||||||
%systemd_post hypervkvpd.service
|
if [ $1 > 1 ] ; then
|
||||||
|
# Upgrade
|
||||||
|
systemctl --no-reload disable hypervkvpd.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%preun -n hypervkvpd
|
%preun -n hypervkvpd
|
||||||
%systemd_preun hypervkvpd.service
|
%systemd_preun hypervkvpd.service
|
||||||
@ -199,7 +202,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%post -n hypervvssd
|
%post -n hypervvssd
|
||||||
%systemd_post hypervvssd.service
|
if [ $1 > 1 ] ; then
|
||||||
|
# Upgrade
|
||||||
|
systemctl --no-reload disable hypervvssd.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%postun -n hypervvssd
|
%postun -n hypervvssd
|
||||||
%systemd_postun hypervvssd.service
|
%systemd_postun hypervvssd.service
|
||||||
@ -209,7 +215,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%post -n hypervfcopyd
|
%post -n hypervfcopyd
|
||||||
%systemd_post hypervfcopyd.service
|
if [ $1 > 1 ] ; then
|
||||||
|
# Upgrade
|
||||||
|
systemctl --no-reload disable hypervfcopyd.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%postun -n hypervfcopyd
|
%postun -n hypervfcopyd
|
||||||
%systemd_postun hypervfcopyd.service
|
%systemd_postun hypervfcopyd.service
|
||||||
@ -245,6 +254,8 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 28 2016 Vitaly Kuznetsov <vkuznets@redhat.com> - 0-0.15.20160728git
|
* Thu Jul 28 2016 Vitaly Kuznetsov <vkuznets@redhat.com> - 0-0.15.20160728git
|
||||||
- Rebase to 4.8-rc0 (20160728 git snapshot)
|
- Rebase to 4.8-rc0 (20160728 git snapshot)
|
||||||
|
- Disable services and remove ConditionVirtualization, multi-user.target
|
||||||
|
dependencies switching to udev-only activation (#1331577)
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.20150702git
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.20150702git
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Hyper-V FCOPY daemon
|
Description=Hyper-V FCOPY daemon
|
||||||
ConditionVirtualization=microsoft
|
|
||||||
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_fcopy.device
|
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_fcopy.device
|
||||||
After=sys-devices-virtual-misc-vmbus\x21hv_fcopy.device
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/hypervfcopyd -n
|
ExecStart=/usr/sbin/hypervfcopyd -n
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Hyper-V KVP daemon
|
Description=Hyper-V KVP daemon
|
||||||
ConditionVirtualization=microsoft
|
|
||||||
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
||||||
After=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/sbin/hypervkvpd -n
|
ExecStart=/usr/sbin/hypervkvpd -n
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Hyper-V VSS daemon
|
Description=Hyper-V VSS daemon
|
||||||
ConditionVirtualization=microsoft
|
|
||||||
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_vss.device
|
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_vss.device
|
||||||
After=sys-devices-virtual-misc-vmbus\x21hv_vss.device
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/hypervvssd -n
|
ExecStart=/usr/sbin/hypervvssd -n
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
Loading…
Reference in New Issue
Block a user