aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/tools/common.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-03-29 00:43:22 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commit70084bd48d09295141d2240cff4a3f5005d7edff (patch)
tree73404f94d8e5e345ee750493280970bef8d95013 /rrs/tools/common.py
parent404e86a5a316baa1dfbed8b39681e6a636296989 (diff)
downloadopenembedded-core-contrib-70084bd48d09295141d2240cff4a3f5005d7edff.tar.gz
rrs/tools: ensure recipe parsing code deletes temporary dir
load_recipes() was leaving files around in /tmp; on my Fedora system this eventually resulted in /tmp running out of space which we do not want. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'rrs/tools/common.py')
-rw-r--r--rrs/tools/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrs/tools/common.py b/rrs/tools/common.py
index d4ceb7156b..df7ecf941c 100644
--- a/rrs/tools/common.py
+++ b/rrs/tools/common.py
@@ -121,7 +121,7 @@ def load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger,
% (layerbranch, fn, str(e)))
continue
- return (tinfoil, d, recipes)
+ return (tinfoil, d, recipes, tempdir)
# XXX: Copied from oe-core recipeutils to avoid import errors.
def get_recipe_pv_without_srcpv(pv, uri_type):