> -----Original Message-----
> From: Simon Kagstrom [mailto:simon.kagstrom at netinsight.net]
> Sent: Thursday, August 20, 2015 2:51 PM
> To: Zhang, Helin; thomas.monjalon at 6wind.com; dev at dpdk.org
> Subject: [PATCH v2] kni: Use utsrelease.h to determine Ubuntu kernel version
>
> /proc/version_signature is the version for the host machine, but in e.g.,
> chroots,
> this does not necessarily match that DPDK is built for. DPDK will then build
> for the
> wrong kernel version - that of the server, and not that installed in the
> (build)
> chroot.
>
> The patch uses utsrelease.h from the kernel sources instead and fakes the
> upload version.
>
> Tested on a server with Ubuntu 12.04, building in a chroot for Ubuntu 14.04.
>
> Signed-off-by: Simon Kagstrom <simon.kagstrom at netinsight.net>
> Signed-off-by: Johan Faltstrom <johan.faltstrom at netinsight.net>
Acked-by: Helin Zhang <helin.zhang at intel.com>