aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/package_detail_base.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-05-14 16:10:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-29 11:58:25 +0100
commitec43dc569e370767c709dec225cbee0c99151c19 (patch)
tree9262b0c478c7bca67745f1ca0446dfb0d2c7f73f /lib/toaster/toastergui/templates/package_detail_base.html
parentba10b6f89767c0dad8a2b064f42a84956764e9da (diff)
downloadbitbake-contrib-ec43dc569e370767c709dec225cbee0c99151c19.tar.gz
toaster logger: refactor recipe and layer file paths
This refactoring brings the "local_path" of the layer from the Layer object to the Layer_Version object, which is more appropriate as different checkouts of the same Layer may live in different directories. This enables us to store Recipe file paths relative to a Layer_Version at all times, aleviating the need to store full file paths in the database. We also turn the prefix of the path (e.g. virtual:native path name space) into a pathflag field. In turn, this solves the problem of mis-identification of tasks based on the recipe file paths, since we can also match the namespace of the file paths on the recipe files. [YOCTO #7594] Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/package_detail_base.html')
-rw-r--r--lib/toaster/toastergui/templates/package_detail_base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/templates/package_detail_base.html b/lib/toaster/toastergui/templates/package_detail_base.html
index ad7545431..e2ec75d15 100644
--- a/lib/toaster/toastergui/templates/package_detail_base.html
+++ b/lib/toaster/toastergui/templates/package_detail_base.html
@@ -141,7 +141,7 @@
Layer directory
<i class="icon-question-sign get-help" title="Path to the layer providing the recipe that builds this package"></i>
</dt>
- <dd><code>{{package.recipe.layer_version.layer.local_path}}</code></dd>
+ <dd><code>{{package.recipe.layer_version.local_path}}</code></dd>
{% endif %}
</dl>
</div> <!-- row4 well -->