[oe-commits] Paul Eggleton : devtool: use tinfoil shutdown method

git at git.openembedded.org git at git.openembedded.org
Sat Aug 1 06:35:13 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: c1f58caad4ff45efd213bf1412304a72903abe7e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c1f58caad4ff45efd213bf1412304a72903abe7e

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Fri Jul 31 10:31:34 2015 +0100

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/devtool | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/devtool b/scripts/devtool
index 557a830..5d37d3b 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>')
 



More information about the Openembedded-commits mailing list