DKMS passes in an explicit variable for the kernel source directory, so we should use that instead of `uname -r`.
CC: [email protected] Reported-by: Thomas Goirand <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> --- debian/dkms.conf.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in index ae1fc7a..d5bc37e 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=/lib/modules/`uname -r`/build && make -C datapath/linux" +MAKE="./configure --with-linux='${kernel_source_dir}' && make -C datapath/linux" BUILT_MODULE_NAME[0]=openvswitch_mod BUILT_MODULE_NAME[1]=brcompat_mod BUILT_MODULE_LOCATION[0]=datapath/linux/ -- 1.7.2.5 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
