diff mbox

[ovs-dev,v1] lib: Create $(sysconfdir)/openvswitch upon install

Message ID 1473784396-24265-1-git-send-email-flavio@flaviof.com
State Accepted
Headers show

Commit Message

Flaviof Sept. 13, 2016, 4:33 p.m. UTC
In cases where dbdir and etcdir are not the same, there is a need
for creating etcdir (i.e. $(sysconfdir)/openvswitch) explicitly.

Note that there is no attempt being made here to make the etcdir
configurable as in "--with-dbdir".

Reported-at: http://openvswitch.org/pipermail/discuss/2016-September/022673.html
Fixes: f973f2af2fd4 ("Make the location of the database separately configurable.")
Signed-off-by: Flavio Fernandes <flavio@flaviof.com>
---
v0->v1: fix Reported-at tag

 lib/automake.mk | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/lib/automake.mk b/lib/automake.mk
index b00e90f..e9d508a 100644
--- a/lib/automake.mk
+++ b/lib/automake.mk
@@ -528,3 +528,4 @@  lib-install-data-local:
 	$(MKDIR_P) $(DESTDIR)$(PKIDIR)
 	$(MKDIR_P) $(DESTDIR)$(LOGDIR)
 	$(MKDIR_P) $(DESTDIR)$(DBDIR)
+	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/openvswitch