diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 61f2911f89..bfd49bd24d 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |||
@@ -528,6 +528,7 @@ class RecipeListModel(gtk.ListStore): | |||
528 | desc = event_model["pn"][item]["description"] | 528 | desc = event_model["pn"][item]["description"] |
529 | lic = event_model["pn"][item]["license"] | 529 | lic = event_model["pn"][item]["license"] |
530 | group = event_model["pn"][item]["section"] | 530 | group = event_model["pn"][item]["section"] |
531 | inherits = event_model["pn"][item]["inherits"] | ||
531 | install = [] | 532 | install = [] |
532 | 533 | ||
533 | depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) | 534 | depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) |
@@ -537,9 +538,10 @@ class RecipeListModel(gtk.ListStore): | |||
537 | atype = 'mltask' | 538 | atype = 'mltask' |
538 | else: | 539 | else: |
539 | atype = 'task' | 540 | atype = 'task' |
540 | elif ('-image-' in name): | 541 | elif ('image.bbclass' in " ".join(inherits)): |
541 | atype = 'image' | 542 | if name != "hob-image": |
542 | install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) | 543 | atype = 'image' |
544 | install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) | ||
543 | elif ('meta-' in name): | 545 | elif ('meta-' in name): |
544 | atype = 'toolchain' | 546 | atype = 'toolchain' |
545 | elif (name == 'dummy-image' or name == 'dummy-toolchain'): | 547 | elif (name == 'dummy-image' or name == 'dummy-toolchain'): |