* [PATCH 0/1] toaster: resolve missing native[sdk]: prefixes
@ 2017-03-06 22:04 brian avery
2017-03-06 22:05 ` [PATCH 1/1] toaster: resolve missing 'native[sdk]:' prefixes brian avery
0 siblings, 1 reply; 2+ messages in thread
From: brian avery @ 2017-03-06 22:04 UTC (permalink / raw)
To: bitbake-devel; +Cc: brian avery
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]
-brian
The following changes since commit 4188e53f803aefdb26768abfad591283662cd27e:
poky: make 4.10 the qemu* default (2017-03-04 23:19:03 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib bavery/toaster/submit/resolve-missing-native-sdk-prefixes
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster/submit/resolve-missing-native-sdk-prefixes
David Reyna (1):
toaster: resolve missing 'native[sdk]:' prefixes
lib/bb/ui/buildinfohelper.py | 8 ++++++++
1 file changed, 8 insertions(+)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] toaster: resolve missing 'native[sdk]:' prefixes
2017-03-06 22:04 [PATCH 0/1] toaster: resolve missing native[sdk]: prefixes brian avery
@ 2017-03-06 22:05 ` brian avery
0 siblings, 0 replies; 2+ messages in thread
From: brian avery @ 2017-03-06 22:05 UTC (permalink / raw)
To: bitbake-devel; +Cc: brian avery
From: David Reyna <David.Reyna@windriver.com>
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 <David.Reyna@windriver.com>
Signed-off-by: brian avery <brian.avery@intel.com>
---
lib/bb/ui/buildinfohelper.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/bb/ui/buildinfohelper.py b/lib/bb/ui/buildinfohelper.py
index 5ed150d..92d1a1c 100644
--- a/lib/bb/ui/buildinfohelper.py
+++ b/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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-06 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-06 22:04 [PATCH 0/1] toaster: resolve missing native[sdk]: prefixes brian avery
2017-03-06 22:05 ` [PATCH 1/1] toaster: resolve missing 'native[sdk]:' prefixes brian avery
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.