diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-10-02 11:05:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-12 14:38:54 +0100 |
commit | 6e0c0fd8353238bbb7223049b20b6c522498ff5c (patch) | |
tree | 6e95407051c9c3786f785639327cf71a84a77248 /bitbake | |
parent | bd2ec775106cb3122a144ac74c2bafd95345bd24 (diff) | |
download | poky-6e0c0fd8353238bbb7223049b20b6c522498ff5c.tar.gz |
bitbake: toaster: use get_alldeps in layerdetails renderer
Used Layer_Version.get_alldeps api in layerdetails template
renderer to get list of layer dependencies.
[YOCTO 8004]
(Bitbake rev: 077d0f41a3bd9cf2802a1488f1d6156ccac7df1d)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 839ee78f97..468cce3113 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2770,8 +2770,8 @@ if True: | |||
2770 | 2770 | ||
2771 | context = { 'project' : project, | 2771 | context = { 'project' : project, |
2772 | 'layerversion' : layer_version, | 2772 | 'layerversion' : layer_version, |
2773 | 'layerdeps' : { "list": [ | 2773 | 'layerdeps' : {"list": [{"id": dep.id, "name": dep.layer.name} \ |
2774 | [{"id": y.id, "name": y.layer.name} for y in x.depends_on.get_equivalents_wpriority(project)][0] for x in layer_version.dependencies.all()]}, | 2774 | for dep in layer_version.get_alldeps(project.id)]}, |
2775 | 'projectlayers': map(lambda prjlayer: prjlayer.layercommit.id, ProjectLayer.objects.filter(project=project)) | 2775 | 'projectlayers': map(lambda prjlayer: prjlayer.layercommit.id, ProjectLayer.objects.filter(project=project)) |
2776 | } | 2776 | } |
2777 | 2777 | ||