diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-09-10 18:26:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-10 21:54:45 +0100 |
commit | 1b1b83651af33ffcb204031e2790719e3b0b45bb (patch) | |
tree | 671d03feea3856d64b884aa24692d2ff5ef9c77d /bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |
parent | 5f40b7a29b2fe957b69c87cce7c8b2e9cf52a4a0 (diff) | |
download | poky-1b1b83651af33ffcb204031e2790719e3b0b45bb.tar.gz |
bitbake: hob: rename task -> packagegroup in recipe selection
This changes the filtering to use the inheritance of
packagegroup.bbclass to determine if a recipe is a package group.
Also makes the tab tooltip text generic; these recipes could come from
any enabled layer, not just the default ones.
(Bitbake rev: a3bf87a90198bf6127663c27d8be086dab04aaf9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 66b0efa6b3..15894d3781 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |||
@@ -595,8 +595,8 @@ class RecipeListModel(gtk.ListStore): | |||
595 | 595 | ||
596 | depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) | 596 | depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) |
597 | 597 | ||
598 | if ('task-' in name): | 598 | if ('packagegroup.bbclass' in " ".join(inherits)): |
599 | atype = 'task' | 599 | atype = 'packagegroup' |
600 | elif ('image.bbclass' in " ".join(inherits)): | 600 | elif ('image.bbclass' in " ".join(inherits)): |
601 | if name != "hob-image": | 601 | if name != "hob-image": |
602 | atype = 'image' | 602 | atype = 'image' |