From: Richard Purdie Date: Sun, 1 Aug 2021 12:47:21 +0000 (+0100) Subject: sstate: Fix rebuilds when changing layer config X-Git-Tag: yocto-3.1.11~85 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bae9c6482271d53dc28d3c801fba467e268003bd;p=openembedded-core.git 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 (cherry picked from commit 09725a29365c69ccbd603fe3a1de72189f26d5ac) Signed-off-by: Steve Sakoman --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 0a25e3ed9d..c148fc9edd 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -1014,6 +1014,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"