aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-01-10 14:22:22 -0800
committerBen Pfaff <blp@nicira.com>2012-02-13 10:04:58 -0800
commit8c36bdd19fafc517b135f744613dfb10e06475f3 (patch)
tree19e3746b9c03466b8aacb3fb676a171ec587d470 /debian
parent30ee46f95c0b16e0e58d059d9c6d71f2e51ac303 (diff)
debian: Look in /lib/modules instead of /usr/src for DKMS kernel sources.
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>
Diffstat (limited to 'debian')
-rw-r--r--debian/dkms.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in
index 56c6398f..a6dc316b 100644
--- a/debian/dkms.conf.in
+++ b/debian/dkms.conf.in
@@ -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/