mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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:
committed by
Richard Purdie
parent
7bccf59a24
commit
67eaefee29
@@ -267,6 +267,12 @@ class CommandsSync:
|
|||||||
features = params[0]
|
features = params[0]
|
||||||
command.cooker.setFeatures(features)
|
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
|
# although we change the internal state of the cooker, this is transparent since
|
||||||
# we always take and leave the cooker in state.initial
|
# we always take and leave the cooker in state.initial
|
||||||
setFeatures.readonly = True
|
setFeatures.readonly = True
|
||||||
|
|||||||
Reference in New Issue
Block a user