summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/crumbs
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2014-04-04 13:53:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-04 15:05:17 +0100
commitbe8511c9d474c570f6ca7078e28919c8a5175a42 (patch)
tree5d2877dff5b294baa8c8a2dac587427c6c68c937 /lib/bb/ui/crumbs
parentb05e741cb5fe44b37538f2b727782f80dc9bb8fa (diff)
downloadopenembedded-core-contrib-be8511c9d474c570f6ca7078e28919c8a5175a42.tar.gz
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] Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/crumbs')
-rw-r--r--lib/bb/ui/crumbs/hoblistmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py
index 02d63322d7..50df156f4d 100644
--- a/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/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, [])