From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: Use utsrelease.h to determine Ubuntu kernel version Date: Fri, 10 Jul 2015 16:43:55 +0200 Message-ID: <2010129.FMfoz3DlDy@xps13> References: <20150527134524.5f107cac@miho> <6445902.TI0hbQ8gWD@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Simon Kagstrom Return-path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 8D6CBC34E for ; Fri, 10 Jul 2015 16:45:03 +0200 (CEST) Received: by widjy10 with SMTP id jy10so17463574wid.1 for ; Fri, 10 Jul 2015 07:45:03 -0700 (PDT) In-Reply-To: <6445902.TI0hbQ8gWD@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-06-16 23:09, Thomas Monjalon: > 2015-05-27 13:45, Simon Kagstrom: > > /proc/version_signature is the version for the host machine, but in > > e.g., chroots, this does not need to match that DPDK is built for. Use > > utsrelease.h from the kernel sources instead and fake the upload > > version. > > Sorry, I don't really understand the problem. > Do you mean that /proc/version_signature is not readable from the chroot? > Or do you mean that the /proc in the chroot is the host one and it > doesn't match the OS installed in the chroot? > > Please precise which case you try to solve and which tests you did > with which Ubuntu versions? The issue is still not clearly described. Closed in patchwork.