mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
bitbake: utils: Print information about lock issue before exiting
(Bitbake rev: bde34a174886161def6f9f2c5194870a4edfefb2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cdf6c51a064f8f335c3262b7f102618996f1a229) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
b2cf0d5cd0
commit
c0432f8eda
@@ -1862,6 +1862,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:
|
||||
|
||||
Reference in New Issue
Block a user