From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mail.openembedded.org (Postfix) with ESMTP id AE29770355 for ; Mon, 14 Jul 2014 23:05:54 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id eu11so6142970pac.19 for ; Mon, 14 Jul 2014 16:05:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=rPM8h+19ZF+fmhlPpmncueAEiXDpr6aa2gXw0ANVB+g=; b=PN7jQG0eOA+dvlNvJHWiyxP8Nx8tBsWiW52Efvj83da04ayDAHXHfUt27H6MdOTCqh Iq5rILQjjBcQxU6X5AVycSZlny9TZoJmKZTpHmlEOUUGYiJJAI4q3aUkARnJloK0gqOB KawaNCctiZ3WEFI5KDT3WzPYCyPYYhtqTwaqd+8FaOM4IlvvL6pf6oFcUCK+FT0Zbyfn iSRBUGpDVpMS8y6lp1XW1abLBt5S8hkHDkHCO2f/KMwUOj8LHmF2DttYdV8/fep3DN+F /8VzLyW7S/raguKP3m737W28MmnkeS/jjNvMK+rlct7Iikv3JAz/cLNR5bv5PR4UcpFV E6Kw== X-Gm-Message-State: ALoCoQksZr1CzeVAix9+pGR/oaPsdZa/4vjR7AKvo5WI/V4lg2zdw0ULSP/sdvJa1MAmnoAt74sp X-Received: by 10.66.65.204 with SMTP id z12mr11271058pas.97.1405379155663; Mon, 14 Jul 2014 16:05:55 -0700 (PDT) Received: from [172.16.1.20] (c-98-239-95-55.hsd1.ca.comcast.net. [98.239.95.55]) by mx.google.com with ESMTPSA id mz8sm15992147pdb.62.2014.07.14.16.05.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jul 2014 16:05:55 -0700 (PDT) Message-ID: <53C46250.4070905@mvista.com> Date: Mon, 14 Jul 2014 16:05:52 -0700 From: akuster User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Christopher Larson , Saul Wold References: <53C45BD7.1020104@mvista.com> <53C45EC0.6070801@linux.intel.com> In-Reply-To: Cc: "yocto@yoctoproject.org" , OE-core Subject: Re: /etc/os-release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 23:05:57 -0000 Content-Type: multipart/alternative; boundary="------------050403030507010100000005" --------------050403030507010100000005 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Chris, On 07/14/2014 03:54 PM, Christopher Larson wrote: > On Mon, Jul 14, 2014 at 3:50 PM, Saul Wold > wrote: > > On 07/14/2014 03:38 PM, akuster wrote: > > Hello all, > > I noticed some reference to /etc/os-release in some recipes. > Where can I > find the initial creation of /etc/os-release? If one is not > created, > would there desire to have one? > > Really? We reference it in the meta/lib/oe/lsb.py > release_dict_file() function to search for LSB information of the > host machine to identify the host distro version information. > > Can you be specific about which recipes are using os-release, I > did do a search. > > > I'm pretty sure we don't have an os-release recipe in oe-core at all > yet, so the file isn't going to exist on target. Mentor has one in > meta-mentor at the moment pending time to submit it again / poke on > the existing thread. See the thread with the subject "[RFC PATCH 0/2] > Add /etc/os-release". It's definitely something we should have, in my > opinion. Yeah, That is what I was thinking of. Thanks for the pointer. - Armin > -- > Christopher Larson > clarson at kergoth dot com > Founder - BitBake, OpenEmbedded, OpenZaurus > Maintainer - Tslib > Senior Software Engineer, Mentor Graphics --------------050403030507010100000005 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Chris,

On 07/14/2014 03:54 PM, Christopher Larson wrote:
On Mon, Jul 14, 2014 at 3:50 PM, Saul Wold <sgw@linux.intel.com> wrote:
On 07/14/2014 03:38 PM, akuster wrote:
Hello all,

I noticed some reference to /etc/os-release in some recipes. Where can I
find the initial creation of /etc/os-release? If one is not created,
would there desire to have one?

Really?  We reference it in the meta/lib/oe/lsb.py release_dict_file() function to search for LSB information of the host machine to identify the host distro version information.

Can you be specific about which recipes are using os-release, I did do a search.

I'm pretty sure we don't have an os-release recipe in oe-core at all yet, so the file isn't going to exist on target. Mentor has one in meta-mentor at the moment pending time to submit it again / poke on the existing thread. See the thread with the subject "[RFC PATCH 0/2] Add /etc/os-release". It's definitely something we should have, in my opinion.
Yeah, That is what I was thinking of.
Thanks for the pointer.

- Armin

--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

--------------050403030507010100000005-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id AEAB3E0076F; Mon, 14 Jul 2014 16:05:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.192.175 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D1D02E006DB for ; Mon, 14 Jul 2014 16:05:56 -0700 (PDT) Received: by mail-pd0-f175.google.com with SMTP id v10so6017975pde.34 for ; Mon, 14 Jul 2014 16:05:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=rPM8h+19ZF+fmhlPpmncueAEiXDpr6aa2gXw0ANVB+g=; b=L2RuhkvlMvYke3rM7NgMITl2GXky9osDhnarvCOapHez9UCEra5TZniFi6qxZFdCgA g1Fb7EjRuIFGOK5JtfNCICgPasy4Ps5+Jb8FhweFUfA7wEAC6Thx0fhuvaikyJDvMAtZ Q//7nTO5XR56BOctbSXPdCBnkFtVjRWRx+vK3CwZuPWMCNew9AOQiwm+tl3umMSaHeI5 yXJZ+PUByDfZh0t9vUI9PL9B6vh2UAuAmAzXBC+htxBwAwm9NzLa3p9SvyhtPf7Dqzg8 ncmLnnzZMcaRUenlgKmYNQz+7k8badhqTmU8Gq8RIkWC+ZIK6DzUE0EAhPG50o4kvPhf HNQw== X-Gm-Message-State: ALoCoQlGYlEI26QpHTnF/73E9H5Fas8rO/OvsnbrgOOCX4VEcL2MrNh3gWbGlWPKo5WF09Bzgvza X-Received: by 10.66.65.204 with SMTP id z12mr11271058pas.97.1405379155663; Mon, 14 Jul 2014 16:05:55 -0700 (PDT) Received: from [172.16.1.20] (c-98-239-95-55.hsd1.ca.comcast.net. [98.239.95.55]) by mx.google.com with ESMTPSA id mz8sm15992147pdb.62.2014.07.14.16.05.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jul 2014 16:05:55 -0700 (PDT) Message-ID: <53C46250.4070905@mvista.com> Date: Mon, 14 Jul 2014 16:05:52 -0700 From: akuster User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Christopher Larson , Saul Wold References: <53C45BD7.1020104@mvista.com> <53C45EC0.6070801@linux.intel.com> In-Reply-To: Cc: "yocto@yoctoproject.org" , OE-core Subject: Re: [OE-core] /etc/os-release X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 23:05:58 -0000 Content-Type: multipart/alternative; boundary="------------050403030507010100000005" --------------050403030507010100000005 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Chris, On 07/14/2014 03:54 PM, Christopher Larson wrote: > On Mon, Jul 14, 2014 at 3:50 PM, Saul Wold > wrote: > > On 07/14/2014 03:38 PM, akuster wrote: > > Hello all, > > I noticed some reference to /etc/os-release in some recipes. > Where can I > find the initial creation of /etc/os-release? If one is not > created, > would there desire to have one? > > Really? We reference it in the meta/lib/oe/lsb.py > release_dict_file() function to search for LSB information of the > host machine to identify the host distro version information. > > Can you be specific about which recipes are using os-release, I > did do a search. > > > I'm pretty sure we don't have an os-release recipe in oe-core at all > yet, so the file isn't going to exist on target. Mentor has one in > meta-mentor at the moment pending time to submit it again / poke on > the existing thread. See the thread with the subject "[RFC PATCH 0/2] > Add /etc/os-release". It's definitely something we should have, in my > opinion. Yeah, That is what I was thinking of. Thanks for the pointer. - Armin > -- > Christopher Larson > clarson at kergoth dot com > Founder - BitBake, OpenEmbedded, OpenZaurus > Maintainer - Tslib > Senior Software Engineer, Mentor Graphics --------------050403030507010100000005 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Chris,

On 07/14/2014 03:54 PM, Christopher Larson wrote:
On Mon, Jul 14, 2014 at 3:50 PM, Saul Wold <sgw@linux.intel.com> wrote:
On 07/14/2014 03:38 PM, akuster wrote:
Hello all,

I noticed some reference to /etc/os-release in some recipes. Where can I
find the initial creation of /etc/os-release? If one is not created,
would there desire to have one?

Really?  We reference it in the meta/lib/oe/lsb.py release_dict_file() function to search for LSB information of the host machine to identify the host distro version information.

Can you be specific about which recipes are using os-release, I did do a search.

I'm pretty sure we don't have an os-release recipe in oe-core at all yet, so the file isn't going to exist on target. Mentor has one in meta-mentor at the moment pending time to submit it again / poke on the existing thread. See the thread with the subject "[RFC PATCH 0/2] Add /etc/os-release". It's definitely something we should have, in my opinion.
Yeah, That is what I was thinking of.
Thanks for the pointer.

- Armin

--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

--------------050403030507010100000005--