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>
This commit is contained in:
Dongxiao Xu 2012-03-13 13:47:29 +08:00 committed by Richard Purdie
parent 8c6ce63433
commit 206431274a
1 changed files with 2 additions and 4 deletions

View File

@ -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'):