mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
scripts/devtool: use bb.util.listtasks instead of __BBTASKS
Don't access private variables, instead use the new bb.build.listtasks() function (from bitbake 185c4b) (From OE-Core rev: d31a7718c16bd26efd6e174cb5e97fb088aad4bd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5d95623708
commit
30ffe589e4
@@ -49,7 +49,7 @@ def build(args, config, basepath, workspace):
|
||||
rd = parse_recipe(config, tinfoil, args.recipename, appends=True, filter_workspace=False)
|
||||
if not rd:
|
||||
return 1
|
||||
deploytask = 'do_deploy' in rd.getVar('__BBTASKS')
|
||||
deploytask = 'do_deploy' in bb.build.listtasks(rd)
|
||||
finally:
|
||||
tinfoil.shutdown()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user