recipeparse.py: Checkout deplayerbranch before parsing
PATCH 1/1 recipeparse.py: Checkout deplayerbranch before parsing
Fixed:
$ ./update.py -b hardknott,master
ERROR: Variable PREMIRRORS_append contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
This is because it doesn't checkout master branch when parse it, this patch fixed the problem.
Signed-off-by Robert Yang <[email protected]>
--- layerindex/recipeparse.py | 1 + 1 file changed, 1 insertion(+)
layerindex/recipeparse.py +1 -0
@@ -118,6 +118,7 @@ def setup_layer(config_data, fetchdir, layerdir, layer, layerbranch, logger): logger.warning('Recommends %s of layer %s does not have branch record for branch %s - ignoring' % (dep.dependency.name, layer.name, layerbranch.branch.name)) continue deplayerdir = os.path.join(deprepodir, deplayerbranch.vcs_subdir) + utils.checkout_layer_branch(deplayerbranch, deprepodir, logger) utils.parse_layer_conf(deplayerdir, config_data_copy) config_data_copy.delVar('LAYERDIR') return config_data_copy
Signature · 1 line
2.17.1