mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
bitbake: utils: Print information about lock issue before exiting
(Bitbake rev: d41fad7fadde59dd63647bbbeb074604314bf310) 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:
parent
dc4827b366
commit
e9aa48f807
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user