mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bitbake: utils: Print information about lock issue before exiting
(Bitbake rev: cdf6c51a064f8f335c3262b7f102618996f1a229) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1884,6 +1884,7 @@ def lock_timeout(lock):
|
|||||||
held = lock.acquire(timeout=5*60)
|
held = lock.acquire(timeout=5*60)
|
||||||
try:
|
try:
|
||||||
if not held:
|
if not held:
|
||||||
|
bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack())
|
||||||
os._exit(1)
|
os._exit(1)
|
||||||
yield held
|
yield held
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user