recipetool: create: fix SRCBRANCH not being passed to params
PATCH 1/1 recipetool: create: fix SRCBRANCH not being passed to params
When explicitly passing a branch using --srcbranch in 'devtool add' or 'recipetool create', the branch name is not included in the params of bb.fetch2.encodeurl and default 'master' branch is used instead.
Signed-off-by Tuomas Salokanto <[email protected]>
--- scripts/lib/recipetool/create.py | 1 + 1 file changed, 1 insertion(+)
scripts/lib/recipetool/create.py +1 -0
@@ -460,6 +460,7 @@ def create_recipe(args): logger.error('branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other') sys.exit(1) srcbranch = args.srcbranch + params['branch'] = srcbranch nobranch = params.get('nobranch') if nobranch and srcbranch: logger.error('nobranch= cannot be used if you specify a branch')
Signature · 1 line
2.24.0.windows.2