* [PATCH] oestats-client.bbclass: send USERDISTRO value
@ 2010-10-16 8:49 Petr Štetiar
2010-10-16 8:58 ` Frans Meulenbroeks
0 siblings, 1 reply; 9+ messages in thread
From: Petr Štetiar @ 2010-10-16 8:49 UTC (permalink / raw)
To: openembedded-devel
With this patch it's now possible to see the correct Angstrom distro version
in the Tinderbox. Now the distribution value is always 'angstrom', with this
patch it would be more detailed version 'angstrom-2008.1' for example.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
classes/oestats-client.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass
index 4415461..a98c9d1 100644
--- a/classes/oestats-client.bbclass
+++ b/classes/oestats-client.bbclass
@@ -77,7 +77,7 @@ def oestats_start(server, builder, d):
'metadata_branch': bb.data.getVar('METADATA_BRANCH', d, True),
'metadata_revision': bb.data.getVar('METADATA_REVISION', d, True),
'machine': bb.data.getVar('MACHINE', d, True),
- 'distro': bb.data.getVar('DISTRO', d, True),
+ 'distro': bb.data.getVar('USERDISTRO', d, True),
})
if re.match("^\d+$", data): id=data
except:
--
1.7.0.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-16 8:49 [PATCH] oestats-client.bbclass: send USERDISTRO value Petr Štetiar
@ 2010-10-16 8:58 ` Frans Meulenbroeks
2010-10-17 3:12 ` Chris Larson
2010-10-19 16:28 ` Chris Larson
0 siblings, 2 replies; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-10-16 8:58 UTC (permalink / raw)
To: openembedded-devel
2010/10/16 Petr Štetiar <ynezz@true.cz>:
> With this patch it's now possible to see the correct Angstrom distro version
> in the Tinderbox. Now the distribution value is always 'angstrom', with this
> patch it would be more detailed version 'angstrom-2008.1' for example.
>
> Signed-off-by: Petr Štetiar <ynezz@true.cz>
> ---
> classes/oestats-client.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass
> index 4415461..a98c9d1 100644
> --- a/classes/oestats-client.bbclass
> +++ b/classes/oestats-client.bbclass
> @@ -77,7 +77,7 @@ def oestats_start(server, builder, d):
> 'metadata_branch': bb.data.getVar('METADATA_BRANCH', d, True),
> 'metadata_revision': bb.data.getVar('METADATA_REVISION', d, True),
> 'machine': bb.data.getVar('MACHINE', d, True),
> - 'distro': bb.data.getVar('DISTRO', d, True),
> + 'distro': bb.data.getVar('USERDISTRO', d, True),
> })
> if re.match("^\d+$", data): id=data
> except:
> --
> 1.7.0.4
>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-16 8:58 ` Frans Meulenbroeks
@ 2010-10-17 3:12 ` Chris Larson
2010-10-17 9:13 ` Petr Štetiar
2010-10-17 10:56 ` Frans Meulenbroeks
2010-10-19 16:28 ` Chris Larson
1 sibling, 2 replies; 9+ messages in thread
From: Chris Larson @ 2010-10-17 3:12 UTC (permalink / raw)
To: openembedded-devel
On Sat, Oct 16, 2010 at 1:58 AM, Frans Meulenbroeks <
fransmeulenbroeks@gmail.com> wrote:
> > - 'distro': bb.data.getVar('DISTRO', d, True),
> > + 'distro': bb.data.getVar('USERDISTRO', d, True),
> > })
> > if re.match("^\d+$", data): id=data
> > except:
> > --
> > 1.7.0.4
> >
> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Is USERDISTRO always guaranteed to be set, or should it fall back to DISTRO?
(haven't checked, I feel lazy, sue me :)
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-17 3:12 ` Chris Larson
@ 2010-10-17 9:13 ` Petr Štetiar
2010-10-17 10:56 ` Frans Meulenbroeks
1 sibling, 0 replies; 9+ messages in thread
From: Petr Štetiar @ 2010-10-17 9:13 UTC (permalink / raw)
To: openembedded-devel
Chris Larson <clarson@kergoth.com> [2010-10-16 20:12:52]:
> Is USERDISTRO always guaranteed to be set, or should it fall back to DISTRO?
> (haven't checked, I feel lazy, sue me :)
ynezz@ntbk:/media/data/devel/oe/ts72xx.git/openembedded/conf$ grep USERDISTRO . -R
./distro/include/kaeilos.inc:USERDISTRO := "${DISTRO}"
./distro/include/kaeilos-2010.inc:USERDISTRO := "${DISTRO}"
./distro/include/angstrom.inc:USERDISTRO := "${DISTRO}"
./bitbake.conf:# USERDISTRO should always contain original DISTRO value as set by user
./bitbake.conf:# overrides like it wants), USERDISTRO must be reassigned with := first
./bitbake.conf:USERDISTRO = "${DISTRO}"
-- ynezz
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-17 3:12 ` Chris Larson
2010-10-17 9:13 ` Petr Štetiar
@ 2010-10-17 10:56 ` Frans Meulenbroeks
2010-10-19 8:46 ` Petr Štetiar
1 sibling, 1 reply; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-10-17 10:56 UTC (permalink / raw)
To: openembedded-devel
2010/10/17 Chris Larson <clarson@kergoth.com>:
> On Sat, Oct 16, 2010 at 1:58 AM, Frans Meulenbroeks <
> fransmeulenbroeks@gmail.com> wrote:
>
>> > - 'distro': bb.data.getVar('DISTRO', d, True),
>> > + 'distro': bb.data.getVar('USERDISTRO', d, True),
>> > })
>> > if re.match("^\d+$", data): id=data
>> > except:
>> > --
>> > 1.7.0.4
>> >
>> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
>
>
> Is USERDISTRO always guaranteed to be set, or should it fall back to DISTRO?
> (haven't checked, I feel lazy, sue me :)
> --
Yes, checked that, before I acked because I also had that concern.
It is done in bitbake.conf
see also the grep from Petr
Frans
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-17 10:56 ` Frans Meulenbroeks
@ 2010-10-19 8:46 ` Petr Štetiar
2010-10-19 8:54 ` Frans Meulenbroeks
0 siblings, 1 reply; 9+ messages in thread
From: Petr Štetiar @ 2010-10-19 8:46 UTC (permalink / raw)
To: openembedded-devel
Frans Meulenbroeks <fransmeulenbroeks@gmail.com> [2010-10-17 12:56:32]:
> Yes, checked that, before I acked because I also had that concern.
> It is done in bitbake.conf see also the grep from Petr.
Can we get this in just before next testing? Thanks.
-- ynezz
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-19 8:46 ` Petr Štetiar
@ 2010-10-19 8:54 ` Frans Meulenbroeks
0 siblings, 0 replies; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-10-19 8:54 UTC (permalink / raw)
To: openembedded-devel
2010/10/19 Petr Štetiar <ynezz@true.cz>:
> Frans Meulenbroeks <fransmeulenbroeks@gmail.com> [2010-10-17 12:56:32]:
>
>> Yes, checked that, before I acked because I also had that concern.
>> It is done in bitbake.conf see also the grep from Petr.
>
> Can we get this in just before next testing? Thanks.
>
> -- ynezz
I'm happy to push it when there is a 2nd ack.
Frans
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-16 8:58 ` Frans Meulenbroeks
2010-10-17 3:12 ` Chris Larson
@ 2010-10-19 16:28 ` Chris Larson
2010-10-19 16:46 ` Frans Meulenbroeks
1 sibling, 1 reply; 9+ messages in thread
From: Chris Larson @ 2010-10-19 16:28 UTC (permalink / raw)
To: openembedded-devel
On Sat, Oct 16, 2010 at 1:58 AM, Frans Meulenbroeks <
fransmeulenbroeks@gmail.com> wrote:
> 2010/10/16 Petr Štetiar <ynezz@true.cz>:
> > With this patch it's now possible to see the correct Angstrom distro
> version
> > in the Tinderbox. Now the distribution value is always 'angstrom', with
> this
> > patch it would be more detailed version 'angstrom-2008.1' for example.
> >
> > Signed-off-by: Petr Štetiar <ynezz@true.cz>
> > ---
> > classes/oestats-client.bbclass | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/classes/oestats-client.bbclass
> b/classes/oestats-client.bbclass
> > index 4415461..a98c9d1 100644
> > --- a/classes/oestats-client.bbclass
> > +++ b/classes/oestats-client.bbclass
> > @@ -77,7 +77,7 @@ def oestats_start(server, builder, d):
> > 'metadata_branch':
> bb.data.getVar('METADATA_BRANCH', d, True),
> > 'metadata_revision':
> bb.data.getVar('METADATA_REVISION', d, True),
> > 'machine': bb.data.getVar('MACHINE', d, True),
> > - 'distro': bb.data.getVar('DISTRO', d, True),
> > + 'distro': bb.data.getVar('USERDISTRO', d, True),
> > })
> > if re.match("^\d+$", data): id=data
> > except:
> > --
> > 1.7.0.4
> >
> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
>
Acked-by: Chris Larson <chris_larson@mentor.com>
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] oestats-client.bbclass: send USERDISTRO value
2010-10-19 16:28 ` Chris Larson
@ 2010-10-19 16:46 ` Frans Meulenbroeks
0 siblings, 0 replies; 9+ messages in thread
From: Frans Meulenbroeks @ 2010-10-19 16:46 UTC (permalink / raw)
To: openembedded-devel
Pushed. Thanks!
Frans
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-10-19 16:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-16 8:49 [PATCH] oestats-client.bbclass: send USERDISTRO value Petr Štetiar
2010-10-16 8:58 ` Frans Meulenbroeks
2010-10-17 3:12 ` Chris Larson
2010-10-17 9:13 ` Petr Štetiar
2010-10-17 10:56 ` Frans Meulenbroeks
2010-10-19 8:46 ` Petr Štetiar
2010-10-19 8:54 ` Frans Meulenbroeks
2010-10-19 16:28 ` Chris Larson
2010-10-19 16:46 ` Frans Meulenbroeks
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.