mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
layerindex/update_layer: update src_uri from new recipe
A wrong Source URI may be displayed at the recipedetail view if the related db field does not get updated routinely. This change updates the src_uri db field when updating recipe info from a new recipe file. [#YOCTO 10899] Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
This commit is contained in:
parent
43c02acfa4
commit
be4ce0edf3
|
@ -73,6 +73,7 @@ def update_recipe_file(tinfoil, data, path, recipe, layerdir_start, repodir):
|
||||||
recipe.bugtracker = envdata.getVar("BUGTRACKER", True) or ""
|
recipe.bugtracker = envdata.getVar("BUGTRACKER", True) or ""
|
||||||
recipe.provides = envdata.getVar("PROVIDES", True) or ""
|
recipe.provides = envdata.getVar("PROVIDES", True) or ""
|
||||||
recipe.bbclassextend = envdata.getVar("BBCLASSEXTEND", True) or ""
|
recipe.bbclassextend = envdata.getVar("BBCLASSEXTEND", True) or ""
|
||||||
|
recipe.src_uri = envdata.getVar("SRC_URI", True) or ""
|
||||||
# Handle recipe inherits for this recipe
|
# Handle recipe inherits for this recipe
|
||||||
gr = set(data.getVar("__inherit_cache", True) or [])
|
gr = set(data.getVar("__inherit_cache", True) or [])
|
||||||
lr = set(envdata.getVar("__inherit_cache", True) or [])
|
lr = set(envdata.getVar("__inherit_cache", True) or [])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user