aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-03-21 16:52:49 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commitea6270f3863d4318add1c8d6b9cd8ca28a61231b (patch)
tree43a7b5f217246baddee1480b25ef301f4b207e1b /templates
parentb2a67d718cbbe004a940145fc12ccfac56490765 (diff)
downloadopenembedded-core-contrib-ea6270f3863d4318add1c8d6b9cd8ca28a61231b.tar.gz
rrs: handle dependency field differences
The old RRS branch had its own addition of dependency support, but in the mean time we added that to the layer index in the master branch using a different structure. Adapt the RRS recipe detail page to that structure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/rrs/recipedetail.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/rrs/recipedetail.html b/templates/rrs/recipedetail.html
index 4f67700ec0..c0c812fa1e 100644
--- a/templates/rrs/recipedetail.html
+++ b/templates/rrs/recipedetail.html
@@ -156,13 +156,18 @@
</dd>
{% endif %}
- {% if recipe_depends %}
+ {% if recipe_depends or recipe.packageconfig_set %}
<dt>Depends</dt>
<dd>
<ul class="unstyled">
{% for d in recipe_depends %}
<li>{{ d }}</li>
{% endfor %}
+ {% for pkc in recipe.packageconfig_set.all %}
+ {% for dep in pkc.get_deps_list %}
+ <li>{{ dep }} (optional)</li>
+ {% endfor %}
+ {% endfor %}
</ul>
</dd>
{% endif %}