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-08-01 07:34:03 +0100 |
commit | 9a672bd5690a519696a6542fc97f8e4e67c7f8cf (patch) | |
tree | 59d6513b7b801178bd487f558f5af0e1a2585bab /scripts/devtool | |
parent | 3167580e791297f75941ffb96e13cd4dc045e38b (diff) | |
download | poky-9a672bd5690a519696a6542fc97f8e4e67c7f8cf.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.
(From OE-Core rev: c1f58caad4ff45efd213bf1412304a72903abe7e)
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 557a83013a..5d37d3b4a4 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -244,8 +244,7 @@ def main(): | |||
244 | tinfoil.config_data.getVar('BBPATH', True).split(':')): | 244 | tinfoil.config_data.getVar('BBPATH', True).split(':')): |
245 | pluginpath = os.path.join(path, 'lib', 'devtool') | 245 | pluginpath = os.path.join(path, 'lib', 'devtool') |
246 | scriptutils.load_plugins(logger, plugins, pluginpath) | 246 | scriptutils.load_plugins(logger, plugins, pluginpath) |
247 | tinfoil.cooker.shutdown(force=True) | 247 | tinfoil.shutdown() |
248 | tinfoil.cooker.unlockBitbake() | ||
249 | 248 | ||
250 | subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>') | 249 | subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>') |
251 | 250 | ||