diff options
Diffstat (limited to 'rrs/tools/rrs_distros.py')
-rwxr-xr-x | rrs/tools/rrs_distros.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rrs/tools/rrs_distros.py b/rrs/tools/rrs_distros.py index 5fc83b8c57..d4400dec6b 100755 --- a/rrs/tools/rrs_distros.py +++ b/rrs/tools/rrs_distros.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, \ @@ -108,7 +109,7 @@ if __name__=="__main__": for item in maintplan.maintenanceplanlayerbranch_set.all(): layerbranch = item.layerbranch sys.path = origsyspath - (tinfoil, d, recipes) = load_recipes(layerbranch, bitbakepath, + (tinfoil, d, recipes, tempdir) = load_recipes(layerbranch, bitbakepath, fetchdir, settings, logger) try: if not recipes: @@ -144,6 +145,7 @@ if __name__=="__main__": str(layerbranch), distro, alias)) finally: tinfoil.shutdown() + shutil.rmtree(tempdir) if options.dry_run: raise DryRunRollbackException except DryRunRollbackException: |