Added missing escape char in run-vmblock\\x2dfuse.mount service name.
Enabled run-vmblock\\x2dfuse.mount service during post-install. Moved run-vmblock\x2dfuse.mount service unit to desktop package.
This commit is contained in:
parent
10ae4cce92
commit
2ef82f3692
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: open-vm-tools
|
Name: open-vm-tools
|
||||||
Version: %{toolsversion}
|
Version: %{toolsversion}
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/vmware/%{name}
|
URL: https://github.com/vmware/%{name}
|
||||||
@ -264,7 +264,16 @@ fi
|
|||||||
%systemd_post %{vgauthdaemon}.service %{toolsdaemon}.service
|
%systemd_post %{vgauthdaemon}.service %{toolsdaemon}.service
|
||||||
|
|
||||||
%post desktop
|
%post desktop
|
||||||
%systemd_post run-vmblock\x2dfuse.mount
|
%systemd_post run-vmblock\\x2dfuse.mount
|
||||||
|
# Need to enable the service as it is not enabled by default.
|
||||||
|
# Enabling an already-enabled service is not an error. So, we
|
||||||
|
# can perform this step everytime during the post-install.
|
||||||
|
if [ -f %{_bindir}/vmware-checkvm ] && \
|
||||||
|
%{_bindir}/systemd-detect-virt | grep -iq VMware && \
|
||||||
|
%{_bindir}/vmware-checkvm &> /dev/null && \
|
||||||
|
%{_bindir}/vmware-checkvm -p | grep -q Workstation; then
|
||||||
|
%{_bindir}/systemctl enable run-vmblock\\x2dfuse.mount &> /dev/null || /bin/true
|
||||||
|
fi
|
||||||
|
|
||||||
%post sdmp
|
%post sdmp
|
||||||
# Load the newly installed or upgraded SDMP plugin
|
# Load the newly installed or upgraded SDMP plugin
|
||||||
@ -294,7 +303,7 @@ if [ "$1" = "0" -a \
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%preun desktop
|
%preun desktop
|
||||||
%systemd_preun run-vmblock\x2dfuse.mount
|
%systemd_preun run-vmblock\\x2dfuse.mount
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
||||||
@ -305,7 +314,7 @@ fi
|
|||||||
%systemd_postun_with_restart %{toolsdaemon}.service %{vgauthdaemon}.service
|
%systemd_postun_with_restart %{toolsdaemon}.service %{vgauthdaemon}.service
|
||||||
|
|
||||||
%postun desktop
|
%postun desktop
|
||||||
%systemd_postun run-vmblock\x2dfuse.mount
|
%systemd_postun run-vmblock\\x2dfuse.mount
|
||||||
|
|
||||||
%postun sdmp
|
%postun sdmp
|
||||||
# In case of uninstall, unload the uninstalled SDMP plugin
|
# In case of uninstall, unload the uninstalled SDMP plugin
|
||||||
@ -362,7 +371,6 @@ fi
|
|||||||
%{_udevrulesdir}/99-vmware-scsi-udev.rules
|
%{_udevrulesdir}/99-vmware-scsi-udev.rules
|
||||||
%{_unitdir}/%{toolsdaemon}.service
|
%{_unitdir}/%{toolsdaemon}.service
|
||||||
%{_unitdir}/%{vgauthdaemon}.service
|
%{_unitdir}/%{vgauthdaemon}.service
|
||||||
%{_unitdir}/run-vmblock\x2dfuse.mount
|
|
||||||
%{_modulesloaddir}/open-vm-tools.conf
|
%{_modulesloaddir}/open-vm-tools.conf
|
||||||
|
|
||||||
%files desktop
|
%files desktop
|
||||||
@ -371,6 +379,7 @@ fi
|
|||||||
%attr(4755,-,-) %{_bindir}/vmware-user-suid-wrapper
|
%attr(4755,-,-) %{_bindir}/vmware-user-suid-wrapper
|
||||||
%{_bindir}/vmware-vmblock-fuse
|
%{_bindir}/vmware-vmblock-fuse
|
||||||
%{_libdir}/%{name}/plugins/vmusr/
|
%{_libdir}/%{name}/plugins/vmusr/
|
||||||
|
%{_unitdir}/run-vmblock\x2dfuse.mount
|
||||||
|
|
||||||
%files sdmp
|
%files sdmp
|
||||||
%{_libdir}/%{name}/plugins/vmsvc/libserviceDiscovery.so
|
%{_libdir}/%{name}/plugins/vmsvc/libserviceDiscovery.so
|
||||||
@ -391,6 +400,11 @@ fi
|
|||||||
%{_bindir}/vmware-vgauth-smoketest
|
%{_bindir}/vmware-vgauth-smoketest
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 05 2021 Ravindra Kumar <ravindrakumar@vmware.com> - 11.2.5-6
|
||||||
|
- Added missing escape char in run-vmblock\\x2dfuse.mount service name.
|
||||||
|
- Enabled run-vmblock\\x2dfuse.mount service during post-install.
|
||||||
|
- Moved run-vmblock\x2dfuse.mount service unit to desktop package.
|
||||||
|
|
||||||
* Fri Mar 19 2021 Ravindra Kumar <ravindrakumar@vmware.com> - 11.2.5-5
|
* Fri Mar 19 2021 Ravindra Kumar <ravindrakumar@vmware.com> - 11.2.5-5
|
||||||
- Added open-vm-tools-gdk-glib.patch to fix RHBZ#1939718.
|
- Added open-vm-tools-gdk-glib.patch to fix RHBZ#1939718.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user