From f41241cecb8d9611e2f8f98d00793e0c4ebf44ef Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Fri, 4 Apr 2014 13:53:40 +0300 Subject: bitbake: hob: adding INHERIT += " testimage " affects image recipes list To find if a recipe is for an image, Hob checks if it inherits image.bbclass. But when you add testimage in local.conf, this will be added for each recipe, and it pass the test. Adding a "/" before "image.bbclass", will check only for image.bbclass. [YOCTO #6117] (Bitbake rev: be8511c9d474c570f6ca7078e28919c8a5175a42) Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 02d63322d7..50df156f4d 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py @@ -703,7 +703,7 @@ class RecipeListModel(gtk.ListStore): if ('packagegroup.bbclass' in " ".join(inherits)): atype = 'packagegroup' - elif ('image.bbclass' in " ".join(inherits)): + elif ('/image.bbclass' in " ".join(inherits)): if "edited" not in name: atype = 'image' install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) -- cgit v1.2.3-54-g00ecf