diff options
author | Ben Pfaff <blp@nicira.com> | 2012-01-10 14:22:22 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-01-10 14:22:22 -0800 |
commit | 715a77b74caf22e38d1f232d1cc45036b9b83e62 (patch) | |
tree | be314e80d587167ad435d52ec1afd6ebd6ec8cb0 | |
parent | b2feae5697e9ddfea706af0c217bb51fb9e72e56 (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>
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | debian/dkms.conf.in | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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/ |