summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-03-13 13:47:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-15 10:35:16 +0000
commit206431274aa6241e138a7856ce542dcd7baba51c (patch)
tree32f835e43d7a96a2c7c411c91dd6dc91d9bd6ed7 /bitbake
parent8c6ce63433ac9d58e1c4ff8b5ecb6aa0350d4607 (diff)
downloadpoky-206431274aa6241e138a7856ce542dcd7baba51c.tar.gz
Hob: Fix the image installation dependency
Get the image installation content from rdepends and rrecommends variables. (Bitbake rev: a16b2245d7f5ef8509df0c543f9432c98367c79c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hoblistmodel.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
index 0b7c0cbf4a..037882814f 100644
--- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
@@ -546,9 +546,7 @@ class RecipeListModel(gtk.ListStore):
546 group = event_model["pn"][item]["section"] 546 group = event_model["pn"][item]["section"]
547 install = [] 547 install = []
548 548
549 depends = event_model["depends"].get(item, []) 549 depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, [])
550 rdepends = event_model["rdepends-pn"].get(item, [])
551 depends = depends + rdepends
552 550
553 if ('task-' in name): 551 if ('task-' in name):
554 if ('lib32-' in name or 'lib64-' in name): 552 if ('lib32-' in name or 'lib64-' in name):
@@ -557,7 +555,7 @@ class RecipeListModel(gtk.ListStore):
557 atype = 'task' 555 atype = 'task'
558 elif ('-image-' in name): 556 elif ('-image-' in name):
559 atype = 'image' 557 atype = 'image'
560 install = rdepends 558 install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, [])
561 elif ('meta-' in name): 559 elif ('meta-' in name):
562 atype = 'toolchain' 560 atype = 'toolchain'
563 elif (name == 'dummy-image' or name == 'dummy-toolchain'): 561 elif (name == 'dummy-image' or name == 'dummy-toolchain'):