From: Christopher Larson
This is needed by systemd, among other useful applications. All fields are
metadata driven, and initial values come from our DISTRO variables.
Signed-off-by: Christopher Larson
---
meta/recipes-core/os-release/os-release.bb | 42 ++
1 file c
On Fri, Dec 13, 2013 at 07:56:37AM -0700, Christopher Larson wrote:
> From: Christopher Larson
>
> This is needed by systemd, among other useful applications. All fields are
> metadata driven, and initial values come from our DISTRO variables.
>
> Signed-off-by: Christopher Larson
> ---
> meta
On Fri, Dec 13, 2013 at 8:08 AM, Martin Jansa wrote:
> > +do_compile () {
> > +for field in ${OS_RELEASE_FIELDS}; do
> > +if eval "test -n \"\$$field\""; then
> > +eval "printf \"%s=%s\n\" \"\$field\" \"\$$field\""
> > +fi
> > +done >os-release
> > +}
> > +do_co
On Fri, Dec 13, 2013 at 8:12 AM, Chris Larson wrote:
> On Fri, Dec 13, 2013 at 8:08 AM, Martin Jansa wrote:
>
>> > +do_compile () {
>> > +for field in ${OS_RELEASE_FIELDS}; do
>> > +if eval "test -n \"\$$field\""; then
>> > +eval "printf \"%s=%s\n\" \"\$field\" \"\$$field\
On 12/13/13, 8:56 AM, Christopher Larson wrote:
From: Christopher Larson
This is needed by systemd, among other useful applications. All fields are
metadata driven, and initial values come from our DISTRO variables.
I thought there was a part of the lsb-release recipe that did this same thing
On Fri, Dec 13, 2013 at 8:56 AM, Mark Hatle wrote:
> On 12/13/13, 8:56 AM, Christopher Larson wrote:
>
>> From: Christopher Larson
>>
>> This is needed by systemd, among other useful applications. All fields are
>> metadata driven, and initial values come from our DISTRO variables.
>>
>
> I thoug
Christopher Larson
writes:
> +if eval "test -n \"\$$field\""; then
> +eval "printf \"%s=%s\n\" \"\$field\" \"\$$field\""
I think, this can be expressed without the complicated quoting as
eval val=\$$field
if test -n "$val"; then
printf '
Op 13 dec. 2013, om 17:14 heeft Chris Larson het volgende
geschreven:
>
> On Fri, Dec 13, 2013 at 8:56 AM, Mark Hatle wrote:
> On 12/13/13, 8:56 AM, Christopher Larson wrote:
> From: Christopher Larson
>
> This is needed by systemd, among other useful applications. All fields are
> metadata
Op 13 dec. 2013, om 15:56 heeft Christopher Larson het
volgende geschreven:
> From: Christopher Larson
>
> This is needed by systemd, among other useful applications. All fields are
> metadata driven, and initial values come from our DISTRO variables.
>
> Signed-off-by: Christopher Larson
>
On Fri, Dec 13, 2013 at 08:12:51AM -0700, Chris Larson wrote:
> On Fri, Dec 13, 2013 at 8:08 AM, Martin Jansa wrote:
>
> > > +do_compile () {
> > > +for field in ${OS_RELEASE_FIELDS}; do
> > > +if eval "test -n \"\$$field\""; then
> > > +eval "printf \"%s=%s\n\" \"\$field\"
10 matches
Mail list logo