diff mbox series

[4/4] cooker: adjust the error message about missing websockets module to mention bitbake-setup

Message ID 20250922092731.1993813-4-alex.kanavin@gmail.com
State New
Headers show
Series [1/4] bitbake-setup: add the initial implementation | expand

Commit Message

Alexander Kanavin Sept. 22, 2025, 9:27 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 lib/bb/cooker.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index fb87368f1..03f262ac1 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -320,7 +320,10 @@  class BBCooker:
                     except ImportError as e:
                         bb.fatal(""""Unable to use hash equivalence server at '%s' due to missing or incorrect python module:
 %s
-Please install the needed module on the build host, or use an environment containing it (e.g a pip venv or OpenEmbedded's buildtools tarball).
+Please install the needed module on the build host, or use an environment containing it:
+ - if you are using bitbake-setup, run 'bitbake-setup install-buildtools'
+ - openembedded-core layer contains 'scripts/install-buildtools' that can also be used
+ - or set up pip venv
 You can also remove the BB_HASHSERVE_UPSTREAM setting, but this may result in significantly longer build times as bitbake will be unable to reuse prebuilt sstate artefacts."""
                                  % (upstream, repr(e)))
                     except ConnectionError as e: