From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id A2ACC7E75 for ; Fri, 24 Oct 2014 09:27:23 +0200 (CEST) Received: by mail-wi0-f178.google.com with SMTP id q5so541073wiv.5 for ; Fri, 24 Oct 2014 00:35:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=SR6boL1LmDdI/U+1gv8E2kb6E/TF3A/1ZCmfMWNil7I=; b=BeY2ArAQ3igy0qJkjK98aPiHYVxH8zncAeC7JoLqBMZociVi24q81MANYZ/CEZ+Pfa LIgtMeYePfJjetnpooK4c1DQkg6B50ThajXZ83G08YzsxZqgjwsK4YvvrgV5uhjfqF29 UDQr5aGkaKjHPgMm7unvxv4oSZ2CVuvU/sJToqiYX7sb8EGHg0gSGjtuT23tFwCRYE92 CDzmJQIVFTTV0k4Z+XrFgPHfK90k3z5g+XylYw8KJ5J1YedIsoGkv4zOKf5hKQ90Vl9D V7dNhqehOjcD9aJl9o9GmL0VSAz7umHsFIdJ5BjP85OzDBUZMREctTG1kRm78OYV0snn ZWZw== X-Gm-Message-State: ALoCoQlUtLhk8ops51FofSvQ2xbQdGhVne3UvRh5qx8Bk198uyiN/CFnl9lqrfjTnI7+JddFu/kL X-Received: by 10.181.13.208 with SMTP id fa16mr2141427wid.61.1414136151909; Fri, 24 Oct 2014 00:35:51 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id l9sm4272216wia.0.2014.10.24.00.35.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Oct 2014 00:35:51 -0700 (PDT) From: Thomas Monjalon To: Alexander Guy Date: Fri, 24 Oct 2014 09:35:33 +0200 Message-ID: <6162830.h8YXoNDffD@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.16.4-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <1414107572-17073-1-git-send-email-alexander@andern.org> References: <1414107572-17073-1-git-send-email-alexander@andern.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] kni: fix building on Ubuntu-hybrids X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 07:27:23 -0000 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