From 1b1b83651af33ffcb204031e2790719e3b0b45bb Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 10 Sep 2012 18:26:46 +0100 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py') 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): depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) - if ('task-' in name): - atype = 'task' + if ('packagegroup.bbclass' in " ".join(inherits)): + atype = 'packagegroup' elif ('image.bbclass' in " ".join(inherits)): if name != "hob-image": atype = 'image' -- cgit v1.2.3-54-g00ecf