mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
layerindex/update_layer: fix update src_uri from new recipe
Don't load all SRC_URI only first entry. [YOCTO #10899] Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
be4ce0edf3
commit
045f109415
|
@ -73,7 +73,8 @@ 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 ""
|
recipe.src_uri = re.match(
|
||||||
|
r'^(\S*).*', envdata.getVar("SRC_URI", True)).group(1) 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