Openembedded Core Discussions
 help / color / mirror / Atom feed
* /etc/os-release
@ 2014-07-14 22:38 akuster
  2014-07-14 22:50 ` /etc/os-release Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: akuster @ 2014-07-14 22:38 UTC (permalink / raw)
  To: OE-core, yocto@yoctoproject.org

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?

regards,
Armin


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /etc/os-release
  2014-07-14 22:38 /etc/os-release akuster
@ 2014-07-14 22:50 ` Saul Wold
  2014-07-14 22:54   ` /etc/os-release Christopher Larson
  0 siblings, 1 reply; 4+ messages in thread
From: Saul Wold @ 2014-07-14 22:50 UTC (permalink / raw)
  To: akuster, OE-core, yocto@yoctoproject.org

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.

Sau!

> regards,
> Armin


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /etc/os-release
  2014-07-14 22:50 ` /etc/os-release Saul Wold
@ 2014-07-14 22:54   ` Christopher Larson
  2014-07-14 23:05     ` /etc/os-release akuster
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Larson @ 2014-07-14 22:54 UTC (permalink / raw)
  To: Saul Wold; +Cc: yocto@yoctoproject.org, OE-core

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

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.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

[-- Attachment #2: Type: text/html, Size: 1655 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /etc/os-release
  2014-07-14 22:54   ` /etc/os-release Christopher Larson
@ 2014-07-14 23:05     ` akuster
  0 siblings, 0 replies; 4+ messages in thread
From: akuster @ 2014-07-14 23:05 UTC (permalink / raw)
  To: Christopher Larson, Saul Wold; +Cc: yocto@yoctoproject.org, OE-core

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

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 
> <mailto: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


[-- Attachment #2: Type: text/html, Size: 3083 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-14 23:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14 22:38 /etc/os-release akuster
2014-07-14 22:50 ` /etc/os-release Saul Wold
2014-07-14 22:54   ` /etc/os-release Christopher Larson
2014-07-14 23:05     ` /etc/os-release akuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox