diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-03-31 21:53:35 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-31 23:01:37 +0100 |
commit | 4b7790915f77731e2bcb5ed3159cc8f4d8adc176 (patch) | |
tree | c17cf5e94cb4e4c1f65d2412605124da4657c3d8 | |
parent | 43da71258cba91dcf1a5d08eee028afd03061114 (diff) | |
download | poky-4b7790915f77731e2bcb5ed3159cc8f4d8adc176.tar.gz |
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).
(From OE-Core rev: 626dbadf22b57a22a8f8b9d1957937120f4ba4d5)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index f3f3e98d2f..77a82d5590 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -805,6 +805,8 @@ def modify(args, config, basepath, workspace): | |||
805 | 805 | ||
806 | logger.info('Recipe %s now set up to build from %s' % (pn, srctree)) | 806 | logger.info('Recipe %s now set up to build from %s' % (pn, srctree)) |
807 | 807 | ||
808 | tinfoil.shutdown() | ||
809 | |||
808 | return 0 | 810 | return 0 |
809 | 811 | ||
810 | def _get_patchset_revs(args, srctree, recipe_path): | 812 | def _get_patchset_revs(args, srctree, recipe_path): |