aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-05 12:26:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-05 12:50:00 +0000
commitab4bc18409d80de6d069e3dd76c3c54964fe5764 (patch)
treebf547b132569453ca9c6aedb3bc70d20bd2f5935 /lib/toaster
parent029e868044989eda370340f8bf4200cfd2670fca (diff)
downloadbitbake-ab4bc18409d80de6d069e3dd76c3c54964fe5764.tar.gz
toaster: fix target package information
Toaster needs to record information about packages installed on a built target image, and dependencies between these packages. This patch fixes a bug where the variable from the server wasn't read correctly leading which caused the buildhistory to not be processed correctly. Additionally, two display issues in the package table were fixed, issues that lead to package information being displayed incorrectly. [YOCTO #5197] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster')
-rw-r--r--lib/toaster/bldviewer/templates/package.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/toaster/bldviewer/templates/package.html b/lib/toaster/bldviewer/templates/package.html
index 642fcab9a..c22e988e9 100644
--- a/lib/toaster/bldviewer/templates/package.html
+++ b/lib/toaster/bldviewer/templates/package.html
@@ -19,12 +19,12 @@
<td><a name="#{{package.name}}">{{package.name}}</a></td>
<td>{{package.version}}</td>
<td>{{package.size}}</td>
- <td><a name="{{package.recipe.name}}.{{package.package_name}}">
- <a href="{% url layer_versions_recipes package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a></td>
+ <td>{%if package.recipe %}<a name="{{package.recipe.name}}.{{package.package_name}}">
+ <a href="{% url layer_versions_recipes package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a>{%endif%}</td>
<td>
- <div style="height: 3em; overflow:auto">
- {% for d in package.depends_on %}
- <a href="#{{d.name}}">{{d.name}}</a><br/>
+ <div style="height: 4em; overflow:auto">
+ {% for d in package.tpackage_dependencies_package.all %}
+ <a href="#{{d.name}}">{{d.depends_on.name}}</a><br/>
{% endfor %}
</div>
</td>