aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/tools/rrs_upstream_history.py
diff options
context:
space:
mode:
Diffstat (limited to 'rrs/tools/rrs_upstream_history.py')
-rwxr-xr-xrrs/tools/rrs_upstream_history.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rrs/tools/rrs_upstream_history.py b/rrs/tools/rrs_upstream_history.py
index a3bf7984d0..a20fae3fe5 100755
--- a/rrs/tools/rrs_upstream_history.py
+++ b/rrs/tools/rrs_upstream_history.py
@@ -12,6 +12,7 @@ import os.path
import optparse
import logging
from datetime import datetime
+import shutil
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__))))
from common import common_setup, load_recipes, \
@@ -176,7 +177,7 @@ if __name__=="__main__":
file = str(os.path.join(layerdir, recipe.full_path()))
recipe_files.append(file)
- (tinfoil, d, recipes) = load_recipes(layerbranch, bitbakepath,
+ (tinfoil, d, recipes, tempdir) = load_recipes(layerbranch, bitbakepath,
fetchdir, settings, logger, recipe_files=recipe_files)
try:
@@ -208,6 +209,7 @@ if __name__=="__main__":
finally:
tinfoil.shutdown()
+ shutil.rmtree(tempdir)
if options.dry_run:
raise DryRunRollbackException
except DryRunRollbackException: