[ovs-dev] [PATCH] debian: Look in /lib/modules instead of /usr/src for DKMS kernel sources.

Ethan Jackson ethan at nicira.com
Tue Jan 10 18:40:20 UTC 2012


I know nothing about DKMS but this looks fine to me.

Ethan

On Tue, Jan 10, 2012 at 10:30, Ben Pfaff <blp at nicira.com> wrote:
> 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 at yahoo.com>
> ---
>  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 56c6398..a6dc316 100644
> --- a/debian/dkms.conIf.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/
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list