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 <fla...@flaviof.com>
---
v0->v1: fix Reported-at tag

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

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
-- 
2.7.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to