summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 24ff341045..2b02584b5e 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -267,6 +267,12 @@ class CommandsSync:
267 features = params[0] 267 features = params[0]
268 command.cooker.setFeatures(features) 268 command.cooker.setFeatures(features)
269 269
270 def unlockBitbake(self, command, params):
271 """
272 Unlock bitbake.lock file
273 """
274 command.cooker.unlockBitbake()
275
270 # although we change the internal state of the cooker, this is transparent since 276 # although we change the internal state of the cooker, this is transparent since
271 # we always take and leave the cooker in state.initial 277 # we always take and leave the cooker in state.initial
272 setFeatures.readonly = True 278 setFeatures.readonly = True