mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
bitbake: 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] (Bitbake rev: ec43dc569e370767c709dec225cbee0c99151c19) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a5236be47f
commit
e3e85bdf71
@@ -89,7 +89,7 @@
|
||||
</td>
|
||||
<!-- Layer directory -->
|
||||
{% if not MANAGED or not build.project %}
|
||||
<td class="recipe__layer_version__layer__local_path">{{package.recipe.layer_version.layer.local_path}}</td>
|
||||
<td class="recipe__layer_version__local_path">{{package.recipe.layer_version.local_path}}</td>
|
||||
{% endif %}
|
||||
{%else%}
|
||||
<td class="recipe__name"></td>
|
||||
@@ -97,7 +97,7 @@
|
||||
<td class="recipe__layer_version__layer__name"></td>
|
||||
<td class="recipe__layer_version__branch"></td>
|
||||
<td class="recipe__layer_version__layer__commit"></td>
|
||||
<td class="recipe__layer_version__layer__local_path"></td>
|
||||
<td class="recipe__layer_version__local_path"></td>
|
||||
{%endif%}
|
||||
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user