Skip to contentSkip to conversation

bitbake: fix documentation of -S lockedsigs

PATCH New Andreas Mützel 1 participant 1 message Oct 30

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: fix documentation of -S lockedsigs

oe-core changed the arguments used to dump sstate signatures to the file locked-sigs.inc from -S none to -s lockedsigs. Adapt the documentation and help text accordingly.

---
 .../bitbake-user-manual-intro.rst                 | 15 ++++++++-------
 lib/bb/main.py                                    |  4 ++--
 2 files changed, 10 insertions(+), 9 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-intro.rst +8 -7
index 6801323e2..d77509796 100644
@@ -475,13 +475,14 @@ Following is the usage and syntax for BitBake::
      -S SIGNATURE_HANDLER, --dump-signatures SIGNATURE_HANDLER
                            Dump out the signature construction information, with
                            no task execution. The SIGNATURE_HANDLER parameter is
-                           passed to the handler. Two common values are none and
-                           printdiff but the handler may define more/less. none
-                           means only dump the signature, printdiff means
-                           recursively compare the dumped signature with the most
-                           recent one in a local build or sstate cache (can be
-                           used to find out why tasks re-run when that is not
-                           expected)
+                           passed to the handler. Two common values are
+                           lockedsigs and printdiff but the handler may define
+                           more/less.
+                           lockedsigs means only dump the signature, printdiff
+                           means recursively compare the dumped signature with
+                           the most recent one in a local build or sstate cache
+                           (can be used to find out why tasks re-run when that
+                           is not expected)
      --revisions-changed   Set the exit code depending on whether upstream
                            floating revisions have changed or not.
      -b BUILDFILE, --buildfile BUILDFILE
lib/bb/main.py +2 -2
index 73a66468f..5cce8eb27 100755
@@ -217,8 +217,8 @@ def create_bitbake_parser():
                         default=[], metavar="SIGNATURE_HANDLER",
                         help="Dump out the signature construction information, with no task "
                              "execution. The SIGNATURE_HANDLER parameter is passed to the "
-                             "handler. Two common values are none and printdiff but the handler "
-                             "may define more/less. none means only dump the signature, printdiff"
+                             "handler. Two common values are lockedsigs and printdiff but the handler "
+                             "may define more/less. lockedsigs means only dump the signature, printdiff"
                              " means recursively compare the dumped signature with the most recent"
                              " one in a local build or sstate cache (can be used to find out why tasks re-run"
                              " when that is not expected)")
Signature · 1 line
2.56.0