[ovs-dev] [debian 5/9] debian: Configure Debian packages to use /var/lib/openvswitch for conf.db.

Ben Pfaff blp at nicira.com
Mon Jul 30 22:18:20 UTC 2012


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 <blp at 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




More information about the dev mailing list