bitbake: cooker: adjust the error message about missing websockets module to mention bitbake-setup

(Bitbake rev: 2d15e6fc93f6a73c9c84e399613f931f1c783922)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2025-09-29 14:56:10 +02:00 committed by Richard Purdie
parent 266379f0be
commit 4e94ef6f0b

View File

@ -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: