]> code.ossystems Code Review - openembedded-core.git/commitdiff
devtool: modify: call shutdown on tinfoil when done
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 31 Mar 2016 08:53:35 +0000 (21:53 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2016 12:18:13 +0000 (13:18 +0100)
Strictly speaking we ought to explicitly shut down a tinfoil instance
when we're done with it. This doesn't affect modify's operation but is
important if you want to be able to call into modify() from another
plugin (though anyone doing so should be advised that the function is
by no means a stable API and is subject to change in future releases).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py

index f3f3e98d2fdfa47eef3c2bc7ce0a53b75132bf1e..77a82d5590f259eb031dc24090bb2b28f01f3757 100644 (file)
@@ -805,6 +805,8 @@ def modify(args, config, basepath, workspace):
 
     logger.info('Recipe %s now set up to build from %s' % (pn, srctree))
 
+    tinfoil.shutdown()
+
     return 0
 
 def _get_patchset_revs(args, srctree, recipe_path):