From e3e85bdf7100cc5619d7f184dc8d9e2a77a03364 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 14 May 2015 16:10:50 +0100 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/recipes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html') diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html index dc2d9e8c3a..8d4494e7ef 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipes.html +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html @@ -84,7 +84,7 @@ {% endwith %} - {{recipe.get_local_path}} + {{recipe.file_path}} {% if recipe.pathflags %}({{recipe.pathflags}}){% endif %} {{recipe.section}} @@ -105,7 +105,7 @@ {% if not MANAGED or not build.project %} - {{recipe.layer_version.layer.local_path}} + {{recipe.layer_version.local_path}} {% endif %} -- cgit v1.2.3-54-g00ecf