[ovs-dev] [PATCH ] debian: place kernel module to satisfy depmod search.

Saurabh Mohan saurabh at cplanenetworks.com
Tue Oct 6 23:35:32 UTC 2015


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.

Signed-off-by: Saurabh Mohan <saurabh at cplanenetworks.com>

---
 debian/rules.modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules.modules b/debian/rules.modules
index 6571683..7ea8b1b 100755
--- a/debian/rules.modules
+++ b/debian/rules.modules
@@ -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
-- 
1.9.1




More information about the dev mailing list