From 715a77b74caf22e38d1f232d1cc45036b9b83e62 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 10 Jan 2012 14:22:22 -0800 Subject: [PATCH] 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 Tested-by: Alban Browaeys Signed-off-by: Ben Pfaff --- AUTHORS | 1 + debian/dkms.conf.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index d413523d..87b3ccdf 100644 --- 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 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/ -- 2.30.2