Unfortunately, https://bugzilla.yoctoproject.org/show_bug.cgi?id=11132 is
preventing a full end to end test, so we should reverify this bug fix once
the above is fixed.
-bavery
an intel employee

On Mon, Mar 6, 2017 at 2:05 PM, Brian Avery <[email protected]> wrote:

> submitted to bitbakehttps://patchwork.openembedded.org/patch/137831/
>
> -bavery
> an intel employee
>
> On Wed, Mar 1, 2017 at 4:24 PM, David Reyna <[email protected]>
> wrote:
>
>> From: David Reyna <[email protected]>
>>
>> Some task events are missing the 'virtual:native[sdk]:' prefixes.
>> The Toaster has code to help match missing prefixes, but needs
>> additional help resolving between 'native:' and 'nativesdk:', by
>> way of the '_package' event field.
>>
>> [YOCTO #10849]
>>
>> Signed-off-by: David Reyna <[email protected]>
>> ---
>>  bitbake/lib/bb/ui/buildinfohelper.py | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/bitbake/lib/bb/ui/buildinfohelper.py
>> b/bitbake/lib/bb/ui/buildinfohelper.py
>> index 5ed150d..92d1a1c 100644
>> --- a/bitbake/lib/bb/ui/buildinfohelper.py
>> +++ b/bitbake/lib/bb/ui/buildinfohelper.py
>> @@ -1258,6 +1258,14 @@ class BuildInfoHelper(object):
>>                  candidates = [x for x in 
>> self.internal_state['taskdata'].keys()
>> if x.endswith(identifier)]
>>                  if len(candidates) == 1:
>>                      identifier = candidates[0]
>> +                elif len(candidates) > 1 and hasattr(event,'_package'):
>> +                    if 'native-' in event._package:
>> +                        identifier = 'native:' + identifier
>> +                    if 'nativesdk-' in event._package:
>> +                        identifier = 'nativesdk:' + identifier
>> +                    candidates = [x for x in
>> self.internal_state['taskdata'].keys() if x.endswith(identifier)]
>> +                    if len(candidates) == 1:
>> +                        identifier = candidates[0]
>>
>>          assert identifier in self.internal_state['taskdata']
>>          identifierlist = identifier.split(":")
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> toaster mailing list
>> [email protected]
>> https://lists.yoctoproject.org/listinfo/toaster
>>
>
>
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to