diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-07-31 10:31:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 15:15:12 +0100 |
commit | c1f58caad4ff45efd213bf1412304a72903abe7e (patch) | |
tree | 2ae74daecd2a320ee139a031f34333f1116db0ba /scripts/devtool | |
parent | a1c83bb5556837d31d934b9af130cdbac19d5e97 (diff) | |
download | openembedded-core-contrib-c1f58caad4ff45efd213bf1412304a72903abe7e.tar.gz |
devtool: use tinfoil shutdown method
Tinfoil now has its own shutdown method, use it instead of calling into
cooker - not only is it the right thing to do from an API perspective,
it also ensures proper lock handling.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-x | scripts/devtool | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/devtool b/scripts/devtool index 557a83013a8..5d37d3b4a44 100755 --- a/scripts/devtool +++ b/scripts/devtool @@ -244,8 +244,7 @@ def main(): tinfoil.config_data.getVar('BBPATH', True).split(':')): pluginpath = os.path.join(path, 'lib', 'devtool') scriptutils.load_plugins(logger, plugins, pluginpath) - tinfoil.cooker.shutdown(force=True) - tinfoil.cooker.unlockBitbake() + tinfoil.shutdown() subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>') |