diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-03-18 15:52:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-22 16:26:45 +0000 |
commit | 98d09d41fa153a1a017e03dcc8e161aa357e8025 (patch) | |
tree | e3e8abb26c9dd848685109265b5ac80ff9427674 | |
parent | 1b15f9e78aed93df6f825505844a877846fead93 (diff) | |
download | poky-98d09d41fa153a1a017e03dcc8e161aa357e8025.tar.gz |
bitbake: bitbake: improve descriptions of '-S printdiff'
(Bitbake rev: becf88c2250a47102c8d36ad8b40839e0bfa9137)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.rst | 7 | ||||
-rwxr-xr-x | bitbake/lib/bb/main.py | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.rst index 4fa3ca4b54..d58fbb32ea 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.rst | |||
@@ -586,10 +586,11 @@ or possibly those defined in the metadata/signature handler itself. The | |||
586 | simplest parameter to pass is "none", which causes a set of signature | 586 | simplest parameter to pass is "none", which causes a set of signature |
587 | information to be written out into ``STAMPS_DIR`` corresponding to the | 587 | information to be written out into ``STAMPS_DIR`` corresponding to the |
588 | targets specified. The other currently available parameter is | 588 | targets specified. The other currently available parameter is |
589 | "printdiff", which causes BitBake to try to establish the closest | 589 | "printdiff", which causes BitBake to try to establish the most recent |
590 | signature match it can (e.g. in the sstate cache) and then run | 590 | signature match it can (e.g. in the sstate cache) and then run |
591 | ``bitbake-diffsigs`` over the matches to determine the stamps and delta | 591 | compare the matched signatures to determine the stamps and delta |
592 | where these two stamp trees diverge. | 592 | where these two stamp trees diverge. This can be used to determine why |
593 | tasks need to be re-run in situations where that is not expected. | ||
593 | 594 | ||
594 | .. note:: | 595 | .. note:: |
595 | 596 | ||
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index 92d8dc0293..bca8ebfa09 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -217,7 +217,9 @@ def create_bitbake_parser(): | |||
217 | "execution. The SIGNATURE_HANDLER parameter is passed to the " | 217 | "execution. The SIGNATURE_HANDLER parameter is passed to the " |
218 | "handler. Two common values are none and printdiff but the handler " | 218 | "handler. Two common values are none and printdiff but the handler " |
219 | "may define more/less. none means only dump the signature, printdiff" | 219 | "may define more/less. none means only dump the signature, printdiff" |
220 | " means compare the dumped signature with the cached one.") | 220 | " means recursively compare the dumped signature with the most recent" |
221 | " one in a local build or sstate cache (can be used to find out why tasks re-run" | ||
222 | " when that is not expected)") | ||
221 | 223 | ||
222 | exec_group.add_argument("--revisions-changed", action="store_true", | 224 | exec_group.add_argument("--revisions-changed", action="store_true", |
223 | help="Set the exit code depending on whether upstream floating " | 225 | help="Set the exit code depending on whether upstream floating " |