From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has uploaded a new change for review.
Change subject: spec: install 85-vdsmd.preset in Makefile
......................................................................
spec: install 85-vdsmd.preset in Makefile
Change-Id: I6b6aabe75cfc00d90fdeb1ae79c72ef7fcec0e4d
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
---
M init/systemd/Makefile.am
M vdsm.spec.in
2 files changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/17/79217/1
diff --git a/init/systemd/Makefile.am b/init/systemd/Makefile.am
index 7bd123e..20a92b7 100644
--- a/init/systemd/Makefile.am
+++ b/init/systemd/Makefile.am
@@ -46,7 +46,11 @@
$(MKDIR_P) $(DESTDIR)/etc/systemd/system/libvirtd.service.d
$(INSTALL_DATA) ./unlimited-core.conf \
$(DESTDIR)/etc/systemd/system/libvirtd.service.d/unlimited-core.conf
+ $(MKDIR_P) $(DESTDIR)/usr/lib/systemd/system-preset
+ $(INSTALL_DATA) ./85-vdsmd.preset \
+ $(DESTDIR)/usr/lib/systemd/system-preset/85-vdsmd.preset
uninstall-local:
$(RM) $(DESTDIR)/usr/lib/tmpfiles.d/vdsm.conf
$(RM) $(DESTDIR)/etc/systemd/system/libvirtd.service.d/unlimited-core.conf
+ $(RM) $(DESTDIR)/usr/lib/systemd/system-preset/85-vdsmd.preset
diff --git a/vdsm.spec.in b/vdsm.spec.in
index fb96993..b2c4fe4 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -731,8 +731,6 @@
install -dDm 0755 %{buildroot}@VDSMLOGDIR@
touch %{buildroot}@VDSMLOGDIR(a)/{mom.log,supervdsm.log,vdsm.log}
-install -Dm 0644 init/systemd/85-vdsmd.preset %{buildroot}%{_presetdir}/85-vdsmd.preset
-
%if 0%{?with_hooks}
install -Dm 0644 vdsm_hooks/fcoe/85-vdsm-hook-fcoe.preset %{buildroot}%{_presetdir}
%endif
--
To view, visit
https://gerrit.ovirt.org/79217
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b6aabe75cfc00d90fdeb1ae79c72ef7fcec0e4d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken(a)redhat.com>