Skip to content

Include mcdepends in signature generation

Joshua Watt bitbake-devel openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v1 RFC3 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bitbake: siggen: Pass all data caches to hash functionsbitbake/lib/bb/runqueue.py bitbake/lib/bb/siggen.py+67 -190 replies
2/2bitbake: tests: Add mcdepends testbitbake/lib/bb/tests/runqueue-tests/recipes/f1.bb bitbake/lib/bb/tests/runqueue.py+31 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [bitbake-devel][PATCH v2 0/2] Include mcdepends in signature generation

Updates signature generation so that mcdepends are included. Previously, they were not which meant that if recipe A mcdepends on recipe B, and recipe B changed, it would not automatically cause recipe A to also rebuild.

In order for signature generation classes to correctly handle mcdepends, they need access to all the data caches, so all are passed instead of just the one for the recipe in question.

V2: Add flag to maintain backward compatibility with older derived signature generators

Joshua Watt (2):
bitbake: siggen: Pass all data caches to hash functions
bitbake: tests: Add mcdepends test

 bitbake/lib/bb/runqueue.py                    |  8 +-
 bitbake/lib/bb/siggen.py                      | 78 +++++++++++++++----
 .../lib/bb/tests/runqueue-tests/recipes/f1.bb |  1 +
 bitbake/lib/bb/tests/runqueue.py              | 30 +++++++
 4 files changed, 98 insertions(+), 19 deletions(-)
 create mode 100644 bitbake/lib/bb/tests/runqueue-tests/recipes/f1.bb
Signature · 1 line
2.26.2