Working through symlinks is undesirable when one can avoid it.

The Debian packaging still sets up the symlinks for compatibility with
existing software that expects the database to be in /etc/openvswitch.

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 51a2e51..88a9a28 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,8 +38,8 @@ configure-stamp:
        cd _debian && ( \
                test -e Makefile || \
                ../configure --prefix=/usr --localstatedir=/var --enable-ssl \
-                       --sysconfdir=/etc CFLAGS="$(CFLAGS)" \
-                       $(DATAPATH_CONFIGURE_OPTS))
+                       --sysconfdir=/etc --with-dbdir=/var/lib/openvswitch \
+                       CFLAGS="$(CFLAGS)" $(DATAPATH_CONFIGURE_OPTS))
        touch configure-stamp
 
 #Architecture 
-- 
1.7.2.5

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

Reply via email to