bitbake: command.py: Unlock function included into CommandsSync class
Function which calls cooker's unlock method, which in turn unlocks bitbake.lock file. (Bitbake rev: e97a9f1528d77503b5c93e48e3de9933fbb9f3cd) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7bccf59a24
commit
67eaefee29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue