Add build number to kernel modules built via Debian packaging.
authorBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2008 18:10:02 +0000 (10:10 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 10 Nov 2008 18:10:02 +0000 (10:10 -0800)
debian/rules

index 705f83f..fa3cea8 100755 (executable)
@@ -93,7 +93,7 @@ binary-modules: prep-deb-files
        dh_testroot
        dh_clean -k
        tar xzf openflow.tar.gz
-       cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS)
+       cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS) --with-build-number=$(BUILD_NUMBER)
        cd openflow && $(MAKE) -C $(dpdir)
        install -d -m755 $(DSTDIR)
        install -m644 openflow/$(dpdir)/*_mod.$(KO)o $(DSTDIR)/