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: features = params[0] command.cooker.setFeatures(features) + def unlockBitbake(self, command, params): + """ + Unlock bitbake.lock file + """ + command.cooker.unlockBitbake() + # although we change the internal state of the cooker, this is transparent since # we always take and leave the cooker in state.initial setFeatures.readonly = True