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: Tue, 16 Jun 2015 23:09:25 +0200 Message-ID: <6445902.TI0hbQ8gWD@xps13> References: <20150527134524.5f107cac@miho> 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-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 5BE06C35C for ; Tue, 16 Jun 2015 23:10:27 +0200 (CEST) Received: by wiwd19 with SMTP id d19so114623980wiw.0 for ; Tue, 16 Jun 2015 14:10:27 -0700 (PDT) In-Reply-To: <20150527134524.5f107cac@miho> 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-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?