diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-12-17 18:29:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-20 14:39:29 +0000 |
commit | 54bf414ef2317ab8b7cba5704749baf83762cc7a (patch) | |
tree | e6a1b746ce8ccde2b1961b760541adb1a3508f6d /bitbake | |
parent | 9c165097e8c365bfece39658edb95e4f0c2a4140 (diff) | |
download | poky-54bf414ef2317ab8b7cba5704749baf83762cc7a.tar.gz |
bitbake: doc: bitbake-user-manual: expand BB_HASHSERVE and document BB_HASHSERVE_UPSTREAM
(Bitbake rev: 23cb09108b3064e46e79f6644b802f3539069088)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index bb996e8493..3160a41ae9 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | |||
@@ -374,12 +374,32 @@ overview of their function and contents. | |||
374 | Specifies the Hash Equivalence server to use. | 374 | Specifies the Hash Equivalence server to use. |
375 | 375 | ||
376 | If set to ``auto``, BitBake automatically starts its own server | 376 | If set to ``auto``, BitBake automatically starts its own server |
377 | over a UNIX domain socket. | 377 | over a UNIX domain socket. An option is to connect this server |
378 | to an upstream one, by setting :term:`BB_HASHSERVE_UPSTREAM`. | ||
378 | 379 | ||
379 | If set to ``host:port``, BitBake will use a remote server on the | 380 | If set to ``unix://path``, BitBake will connect to an existing |
381 | hash server available over a UNIX domain socket. | ||
382 | |||
383 | If set to ``host:port``, BitBake will connect to a remote server on the | ||
380 | specified host. This allows multiple clients to share the same | 384 | specified host. This allows multiple clients to share the same |
381 | hash equivalence data. | 385 | hash equivalence data. |
382 | 386 | ||
387 | The remote server can be started manually through | ||
388 | the ``bin/bitbake-hashserv`` script provided by BitBake, | ||
389 | which supports UNIX domain sockets too. | ||
390 | |||
391 | :term:`BB_HASHSERVE_UPSTREAM` | ||
392 | Specifies an upstream Hash Equivalence server. | ||
393 | |||
394 | This optional setting is only useful when a local Hash Equivalence | ||
395 | server is started (setting :term:`BB_HASHSERVE` to ``auto``), | ||
396 | and you wish the local server to query an upstream server for | ||
397 | Hash Equivalence data. | ||
398 | |||
399 | Example usage:: | ||
400 | |||
401 | BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687" | ||
402 | |||
383 | :term:`BB_INVALIDCONF` | 403 | :term:`BB_INVALIDCONF` |
384 | Used in combination with the ``ConfigParsed`` event to trigger | 404 | Used in combination with the ``ConfigParsed`` event to trigger |
385 | re-parsing the base metadata (i.e. all the recipes). The | 405 | re-parsing the base metadata (i.e. all the recipes). The |