diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2014-04-04 13:53:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-04 15:07:01 +0100 |
commit | f41241cecb8d9611e2f8f98d00793e0c4ebf44ef (patch) | |
tree | 3209dc59cc8a526def7cbf34e4b06ae941f34f06 | |
parent | 21f9cc27d764c2c232d751968bdff8e29947ba7b (diff) | |
download | poky-f41241cecb8d9611e2f8f98d00793e0c4ebf44ef.tar.gz |
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 <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
703 | 703 | ||
704 | if ('packagegroup.bbclass' in " ".join(inherits)): | 704 | if ('packagegroup.bbclass' in " ".join(inherits)): |
705 | atype = 'packagegroup' | 705 | atype = 'packagegroup' |
706 | elif ('image.bbclass' in " ".join(inherits)): | 706 | elif ('/image.bbclass' in " ".join(inherits)): |
707 | if "edited" not in name: | 707 | if "edited" not in name: |
708 | atype = 'image' | 708 | atype = 'image' |
709 | install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) | 709 | install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) |