[oe-commits] [openembedded-core] 08/13: devtool: modify: call shutdown on tinfoil when done

git at git.openembedded.org git at git.openembedded.org
Thu Mar 31 11:58:41 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 79d0a77a771f87987051636e532bc4f441c46219
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Thu Mar 31 21:53:35 2016 +1300

    devtool: modify: call shutdown on tinfoil when done
    
    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 at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/lib/devtool/standard.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index f3f3e98..77a82d5 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -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):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list