debian: Look in /lib/modules instead of /usr/src for DKMS kernel sources.
authorBen Pfaff <blp@nicira.com>
Tue, 10 Jan 2012 22:22:22 +0000 (14:22 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 10 Jan 2012 22:22:22 +0000 (14:22 -0800)
DKMS packages usually look in /lib/modules for kernel sources, since that
is the "standard" location, but our packages was looking directly in
/usr/src.  This fixes the problem.

Reported-by: Alban Browaeys <prahal@yahoo.com>
Tested-by: Alban Browaeys <prahal@yahoo.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
debian/dkms.conf.in

diff --git a/AUTHORS b/AUTHORS
index d413523ded9053ed8dc97eb888720754bdbe11e3..87b3ccdf781f0e744da9ecf595120299019067af 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -60,6 +60,7 @@ provided helpful bug reports or suggestions.
 Aaron M. Ucko           ucko@debian.org
 Aaron Rosen             arosen@clemson.edu
 Ahmed Bilal             numan252@gmail.com
+Alban Browaeys          prahal@yahoo.com
 Alex Yip                alex@nicira.com
 Alexey I. Froloff       raorn@altlinux.org
 Bob Ball                bob.ball@citrix.com
index 56c6398f54d8355d87870fe016656d40032c8577..a6dc316b226c7e3e97ee7f567c8c7488fd6ac5ad 100644 (file)
@@ -1,6 +1,6 @@
 PACKAGE_NAME="openvswitch"
 PACKAGE_VERSION="__VERSION__"
-MAKE="./configure --with-linux=/usr/src/linux-headers-`uname -r` ; make -C datapath/linux"
+MAKE="./configure --with-linux=/lib/modules/`uname -r`/build ; make -C datapath/linux"
 BUILT_MODULE_NAME[0]=openvswitch_mod
 BUILT_MODULE_NAME[1]=brcompat_mod
 BUILT_MODULE_LOCATION[0]=datapath/linux/