From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix building on Ubuntu-hybrids Date: Fri, 24 Oct 2014 09:35:33 +0200 Message-ID: <6162830.h8YXoNDffD@xps13> References: <1414107572-17073-1-git-send-email-alexander@andern.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Alexander Guy Return-path: In-Reply-To: <1414107572-17073-1-git-send-email-alexander-r8RCs3VWUTkdnm+yROfE0A@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-10-23 16:39, Alexander Guy: > In the case where a userspace reports itself as Ubuntu, but the > kernel isn't providing the expected version signature interface, > turn off Ubuntu specializations. > > This situation happens often enough in development environments, > and with multi-distribution build servers (e.g. chroot, containers). [...] > -ifeq ($(shell lsb_release -si 2>/dev/null),Ubuntu) > +ifeq ($(shell test -f /proc/version_signature && lsb_release -si 2>/dev/null),Ubuntu) Please, could explain what is the file /proc/version_signature and why it can be a check for Ubuntu kernel? Thanks -- Thomas