1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +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:
Richard Purdie
2025-03-03 11:55:42 +00:00
parent ab830b19ee
commit 6b01f33b33
+1
View File
@@ -1884,6 +1884,7 @@ def lock_timeout(lock):
held = lock.acquire(timeout=5*60)
try:
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)
yield held
finally: