[CRIU] [PATCH 1/4] Make sure logrotate directory exists

Christopher Covington cov at codeaurora.org
Wed Apr 9 08:13:10 PDT 2014


Otherwise, `make install` may fail.

Signed-off-by: Christopher Covington <cov at codeaurora.org>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 7e192ad..7900b91 100644
--- a/Makefile
+++ b/Makefile
@@ -265,6 +265,7 @@ install: $(PROGRAM) install-man
 	$(Q) mkdir -p $(DESTDIR)$(SYSTEMDUNITDIR)
 	$(Q) install -m 644 scripts/sd/criu.socket $(DESTDIR)$(SYSTEMDUNITDIR)
 	$(Q) install -m 644 scripts/sd/criu.service $(DESTDIR)$(SYSTEMDUNITDIR)
+	$(Q) mkdir -p $(DESTDIR)$(LOGROTATEDIR)
 	$(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR)
 
 install-man:
-- 
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by the Linux Foundation.



More information about the CRIU mailing list