debian: Fix Debian build of modules via module-assistant.
authorBen Pfaff <blp@nicira.com>
Fri, 9 Mar 2012 21:31:41 +0000 (13:31 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Mar 2012 21:32:09 +0000 (13:32 -0800)
Fixes an error during module-assistant build step:

    install: cannot stat `openvswitch/datapath/linux/*_mod.ko': No such
    file or directory

This was (understandably) overlooked as part of commit 9b80f761be
(datapath: omit _mod from module names).

Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
debian/rules.modules

index eb779c456e8db1d617d5b740f73aa308b473638f..64f4cd42ce3c7df4863db9f2522e3b24e1724133 100755 (executable)
@@ -29,7 +29,7 @@ binary-modules: prep-deb-files
        cd openvswitch && ./configure --with-linux=$(KSRC) $(DATAPATH_CONFIGURE_OPTS) --with-build-number=$(BUILD_NUMBER)
        cd openvswitch && $(MAKE) -C datapath/linux
        install -d -m755 $(DSTDIR)
-       install -m644 openvswitch/datapath/linux/*_mod.ko $(DSTDIR)/
+       install -m644 openvswitch/datapath/linux/*.ko $(DSTDIR)/
        dh_installmodules
        dh_installdocs
        dh_installchangelogs