debian: place kernel module to satisfy depmod search.
authorSaurabh Mohan <saurabh@cplanenetworks.com>
Tue, 6 Oct 2015 23:35:32 +0000 (16:35 -0700)
committerAnsis Atteka <aatteka@nicira.com>
Tue, 3 Nov 2015 04:54:18 +0000 (20:54 -0800)
On Ubuntu depmod's search priority is configured in /etc/depmod to be
updates and then the kernel built-in directory.
$ cat /etc/depmod.d/ubuntu.conf
search updates ubuntu built-in

Thus change the placement of openvswitch.ko under updates/ not kernel/updates.

Acked-by: Ansis Atteka <aatteka@nicira.com>
Signed-off-by: Saurabh Mohan <saurabh@cplanenetworks.com>
AUTHORS
debian/rules.modules

diff --git a/AUTHORS b/AUTHORS
index 8a3f861..0e4c1a4 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -164,6 +164,7 @@ Sairam Venugopal        vsairam@vmware.com
 Sajjad Lateef           slateef@nicira.com
 Samuel Ghinet           sghinet@cloudbasesolutions.com
 Sanjay Sane             ssane@nicira.com
+Saurabh Mohan           saurabh@cplanenetworks.com
 Saurabh Shah            ssaurabh@nicira.com
 Scott Lowe              scott.lowe@scottlowe.org
 Scott Mann              sdmnix@gmail.com
index 6571683..7ea8b1b 100755 (executable)
@@ -17,7 +17,7 @@ kdist_clean:
 kdist_config: prep-deb-files
 
 .PHONY: binary-modules
-binary-modules: DSTDIR = $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/updates
+binary-modules: DSTDIR = $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/updates
 binary-modules: prep-deb-files
        dh_testdir
        dh_testroot