diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-01 13:47:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-01 13:47:32 +0100 |
commit | 09725a29365c69ccbd603fe3a1de72189f26d5ac (patch) | |
tree | e09074485475e0bfc38cc7fc27d8bc5d2dd71b41 /meta/classes/sstate.bbclass | |
parent | bc4ee5453560dcefc4a4ecc5657df5cc1666e153 (diff) | |
download | openembedded-core-contrib-09725a29365c69ccbd603fe3a1de72189f26d5ac.tar.gz |
sstate: Fix rebuilds when changing layer config
When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.
Exclude the variable since this should be be included in the hashes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index f6710fc283..554e401ee2 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -1018,6 +1018,7 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True, bb.parse.siggen.checkhashes(sq_data, missed, found, d) return found +setscene_depvalid[vardepsexclude] = "SSTATE_EXCLUDEDEPS_SYSROOT" BB_SETSCENE_DEPVALID = "setscene_depvalid" |