]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sstate.bbclass: Add _SSTATE_EXCLUDEDEPS_SYSROOT to vardepsexclude
authorMark Hatle <mark.hatle@amd.com>
Wed, 1 May 2024 21:26:33 +0000 (15:26 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2024 14:10:34 +0000 (15:10 +0100)
commit4ec704ed6a1cfaf0a6c20f2038e7192e361ef590
tree0d8faaea4fbb42dcaa2317dadc3437dcac30be7f
parent77865c722282e1769b65d02823e2a2a6ecd3655a
sstate.bbclass: Add _SSTATE_EXCLUDEDEPS_SYSROOT to vardepsexclude

When using tinfoil to control the build, multiple commands (serially) could
trigger an error such as:

  When reparsing ....bb:do_package, the basehash value changed from ... to .... The metadata is not deterministic and this needs to be fixed.
  ERROR: The following commands may help:
  ERROR: $ bitbake esw-conf -cdo_package -Snone
  ERROR: Then:
  ERROR: $ bitbake esw-conf -cdo_package -Sprintdiff

However following these commands it was not able to be reproduced.  Forcing
bitbake to dump the signatures and then running bitbake-diffsigs showed
that the value of _SSTATE_EXCLUDEDEPS_SYSROOT was being set in one run, but
was blank is a different version.

Upon inspecting the code in sstate.bbclass, one usage (without the _) is
already excludes, the leading _ version is used as a cache, only if set but
is not actually required to be defined.  So ignoring the value should work
properly.

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sstate.bbclass