[oe] [PATCH] oestats-client.bbclass: send USERDISTRO value

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sun Oct 17 10:56:32 UTC 2010


2010/10/17 Chris Larson <clarson at kergoth.com>:
> On Sat, Oct 16, 2010 at 1:58 AM, Frans Meulenbroeks <
> fransmeulenbroeks at 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 at 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




More information about the Openembedded-devel mailing list