From 33eea7d9dfd8d35988d030010df93e6f4ad2ec367fa27d0dadaf82dc1b31e6fb Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 14 May 2014 17:06:32 +0000 Subject: [PATCH] Accepting request 233890 from home:msmeissn:branches:Virtualization:VMware - added forgotten %pre snippet for service addition, this made systemd service not auto-start. bnc#870737 OBS-URL: https://build.opensuse.org/request/show/233890 OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=258 --- open-vm-tools.changes | 6 ++++++ open-vm-tools.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/open-vm-tools.changes b/open-vm-tools.changes index cd715b9..6134682 100644 --- a/open-vm-tools.changes +++ b/open-vm-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 14 15:40:19 UTC 2014 - meissner@suse.com + +- added forgotten %pre snippet for service addition, this made + systemd service not auto-start. bnc#870737 + ------------------------------------------------------------------- Tue Mar 17 21:52:29 UTC 2014 - mlatimer@suse.com diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 49103da..eb969e6 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -333,6 +333,11 @@ install -D -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/modprobe.d/50-vmnics.co find %{buildroot} -name '*vmhgfs*' -delete -print %endif +%pre +%if %{with_systemd} +%service_add_pre vmtoolsd.service +%endif + %post %if 0%{?suse_version} <= 1130 %run_permissions