diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-05-14 16:10:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-29 11:59:43 +0100 |
commit | e3e85bdf7100cc5619d7f184dc8d9e2a77a03364 (patch) | |
tree | a3dcc4abf6973288c0001e7498f8270d6fccdb7e /bitbake/lib/toaster/toastergui/templates/bpackage.html | |
parent | a5236be47fd62d41eaea2d4b4f1a394de0aac4a9 (diff) | |
download | poky-e3e85bdf7100cc5619d7f184dc8d9e2a77a03364.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/bpackage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/bpackage.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html index 6fbdc7b92d..1c47354a99 100644 --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html | |||
@@ -89,7 +89,7 @@ | |||
89 | </td> | 89 | </td> |
90 | <!-- Layer directory --> | 90 | <!-- Layer directory --> |
91 | {% if not MANAGED or not build.project %} | 91 | {% if not MANAGED or not build.project %} |
92 | <td class="recipe__layer_version__layer__local_path">{{package.recipe.layer_version.layer.local_path}}</td> | 92 | <td class="recipe__layer_version__local_path">{{package.recipe.layer_version.local_path}}</td> |
93 | {% endif %} | 93 | {% endif %} |
94 | {%else%} | 94 | {%else%} |
95 | <td class="recipe__name"></td> | 95 | <td class="recipe__name"></td> |
@@ -97,7 +97,7 @@ | |||
97 | <td class="recipe__layer_version__layer__name"></td> | 97 | <td class="recipe__layer_version__layer__name"></td> |
98 | <td class="recipe__layer_version__branch"></td> | 98 | <td class="recipe__layer_version__branch"></td> |
99 | <td class="recipe__layer_version__layer__commit"></td> | 99 | <td class="recipe__layer_version__layer__commit"></td> |
100 | <td class="recipe__layer_version__layer__local_path"></td> | 100 | <td class="recipe__layer_version__local_path"></td> |
101 | {%endif%} | 101 | {%endif%} |
102 | 102 | ||
103 | </tr> | 103 | </tr> |