diff options
author | Mark Hatle <mark.hatle@amd.com> | 2024-05-01 15:26:33 -0600 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-05-06 13:32:02 -0700 |
commit | 64c3534366981bb5bebf384e458cad89c74b68af (patch) | |
tree | e877e061aaee00cd89380c70b369f2ab1c41560d /scripts/oe-setup-build | |
parent | 02eacd385eca7aa9cf25aaaa61427aa9c126e0bc (diff) | |
download | poky-64c3534366981bb5bebf384e458cad89c74b68af.tar.gz |
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.
(From OE-Core rev: 4138f0a048149195d39347d97f8155199b6cf0cb)
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ec704ed6a1cfaf0a6c20f2038e7192e361ef590)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/oe-setup-build')
0 files changed, 0 insertions, 0 deletions