summaryrefslogtreecommitdiffstats
path: root/lib/bb/tinfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/tinfoil.py')
-rw-r--r--lib/bb/tinfoil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index 8fc9be303..3095c2049 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -84,6 +84,10 @@ class Tinfoil:
else:
self.parseRecipes()
+ def shutdown(self):
+ self.cooker.shutdown(force=True)
+ self.cooker.unlockBitbake()
+
class TinfoilConfigParameters(ConfigParameters):
def __init__(self, **options):