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.

This breaks the bitbake siggen API and makes it incompatible with
previous signature generators, hence the cross-posting between bitbake
and oe-core.

Joshua Watt (3):
  bitbake: siggen: Pass all data caches to hash functions
  bitbake: tests: Add mcdepends test
  sstatesig: Account for all dataCaches being passed

 bitbake/lib/bb/runqueue.py                    |  6 +-
 bitbake/lib/bb/siggen.py                      | 32 ++++----
 .../lib/bb/tests/runqueue-tests/recipes/f1.bb |  1 +
 bitbake/lib/bb/tests/runqueue.py              | 30 ++++++++
 meta/lib/oe/sstatesig.py                      | 77 ++++++++++---------
 5 files changed, 89 insertions(+), 57 deletions(-)
 create mode 100644 bitbake/lib/bb/tests/runqueue-tests/recipes/f1.bb

-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139269): 
https://lists.openembedded.org/g/openembedded-core/message/139269
Mute This Topic: https://lists.openembedded.org/mt/74699187/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to