From 05d4ae3a0608d46ae6df7c2015af9e6b9aa861ad Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Fri, 9 Mar 2012 13:31:41 -0800
Subject: [PATCH] debian: Fix Debian build of modules via module-assistant.

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules.modules b/debian/rules.modules
index eb779c456..64f4cd42c 100755
--- a/debian/rules.modules
+++ b/debian/rules.modules
@@ -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
-- 
2.47.0