From 9a672bd5690a519696a6542fc97f8e4e67c7f8cf Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 31 Jul 2015 10:31:34 +0100 Subject: 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 Signed-off-by: Richard Purdie --- scripts/devtool | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/devtool') diff --git a/scripts/devtool b/scripts/devtool index 557a83013a..5d37d3b4a4 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='') -- cgit v1.2.3-54-g00ecf