diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-03 11:55:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-03 21:38:57 +0000 |
commit | 6b01f33b33d07df805d9da50d2d16183dcfaf81f (patch) | |
tree | 297c7b91e05ab3f8ca151dbeae28044ee52b7b71 /bitbake/lib | |
parent | ab830b19ee0de2477e4a6efa704820dba69e59c0 (diff) | |
download | poky-6b01f33b33d07df805d9da50d2d16183dcfaf81f.tar.gz |
bitbake: utils: Print information about lock issue before exiting
(Bitbake rev: cdf6c51a064f8f335c3262b7f102618996f1a229)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 3cb59d8078..da8c20fe95 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -1884,6 +1884,7 @@ def lock_timeout(lock): | |||
1884 | held = lock.acquire(timeout=5*60) | 1884 | held = lock.acquire(timeout=5*60) |
1885 | try: | 1885 | try: |
1886 | if not held: | 1886 | if not held: |
1887 | bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack()) | ||
1887 | os._exit(1) | 1888 | os._exit(1) |
1888 | yield held | 1889 | yield held |
1889 | finally: | 1890 | finally: |