yes. I fixed some of the stuff on the Contribute to Toaster page. Seemed to work :). -brian an intel employee
On Mon, Mar 6, 2017 at 2:06 PM, Reyna, David <[email protected]> wrote: > Thanks! So you updated process seems to work? > > > > - David > > > > *From:* Brian Avery [mailto:[email protected]] > *Sent:* Monday, March 06, 2017 2:05 PM > *To:* Reyna, David > *Cc:* [email protected] > *Subject:* Re: [Toaster] [PATCH] toaster: resolve missing 'native[sdk]:' > prefixes > > > > submitted to bitbake > > https://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
