Alex Lourie has uploaded a new change for review. Change subject: packaging: Updated backups folder creation ......................................................................
packaging: Updated backups folder creation Change-Id: I0e79b78f4448bbe5f20b4836983e916b60c06acd Signed-off-by: Alex Lourie <[email protected]> --- M Makefile M packaging/fedora/spec/ovirt-engine.spec.in 2 files changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/99/7499/1 diff --git a/Makefile b/Makefile index 2cc2cb9..67e9bcd 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,8 @@ PACKAGE_NAME=ovirt-engine ENGINE_NAME=$(PACKAGE_NAME) PREFIX=/usr/local +VAR_LIB=/var/lib +ENGINE_LIB=$(VAR_LIB)/$(ENGINE_NAME) BIN_DIR=$(PREFIX)/bin SYSCONF_DIR=$(PREFIX)/etc DATAROOT_DIR=$(PREFIX)/share @@ -208,6 +210,7 @@ @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/cron.daily @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/security/limits.d @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/rc.d/init.d + @install -dm 755 $(DESTDIR)$(ENGINE_LIB)/backups @install -dm 755 $(DESTDIR)/usr/lib/systemd/system @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/tmpfiles.d diff --git a/packaging/fedora/spec/ovirt-engine.spec.in b/packaging/fedora/spec/ovirt-engine.spec.in index a7154e6..9870d04 100644 --- a/packaging/fedora/spec/ovirt-engine.spec.in +++ b/packaging/fedora/spec/ovirt-engine.spec.in @@ -372,7 +372,6 @@ install -dm 755 %{buildroot}/%{engine_state}/deployments install -dm 755 %{buildroot}/%{engine_state}/content -install -dm 755 %{buildroot}/%{engine_state}/backups install -dm 755 %{buildroot}/%{engine_log}/{notifier,engine-manage-domains} install -dm 755 %{buildroot}/%{engine_run}/notifier install -dm 755 %{buildroot}/%{engine_lock} @@ -608,8 +607,10 @@ %dir %{engine_data}/db-backups %dir %{engine_data}/scripts %dir %{engine_run} +%dir %{engine_state}/backups %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_log} %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_lock} +%dir %attr(-, %{engine_user}, %{engine_group}) %{engine_state}/backups # Log rotation script: %{engine_data}/scripts/ovirtlogrot.sh -- To view, visit http://gerrit.ovirt.org/7499 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0e79b78f4448bbe5f20b4836983e916b60c06acd Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alex Lourie <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
