From 206431274aa6241e138a7856ce542dcd7baba51c Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Tue, 13 Mar 2012 13:47:29 +0800 Subject: Hob: Fix the image installation dependency Get the image installation content from rdepends and rrecommends variables. (Bitbake rev: a16b2245d7f5ef8509df0c543f9432c98367c79c) Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 6 ++---- 1 file changed, 2 insertions(+), 4 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 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): group = event_model["pn"][item]["section"] install = [] - depends = event_model["depends"].get(item, []) - rdepends = event_model["rdepends-pn"].get(item, []) - depends = depends + rdepends + depends = event_model["depends"].get(item, []) + event_model["rdepends-pn"].get(item, []) if ('task-' in name): if ('lib32-' in name or 'lib64-' in name): @@ -557,7 +555,7 @@ class RecipeListModel(gtk.ListStore): atype = 'task' elif ('-image-' in name): atype = 'image' - install = rdepends + install = event_model["rdepends-pkg"].get(item, []) + event_model["rrecs-pkg"].get(item, []) elif ('meta-' in name): atype = 'toolchain' elif (name == 'dummy-image' or name == 'dummy-toolchain'): -- cgit v1.2.3-54-g00ecf