summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-01 13:47:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-10 11:14:11 +0100
commit08acba82d160815549a3c237b8c4850f96534da6 (patch)
treefa0d8f2a8ce44ec19d0ce35f2e4049b2658638dd /meta/classes/sstate.bbclass
parentccbfeb9d536d16b6fa184630b56028e1a9e2310d (diff)
downloadpoky-08acba82d160815549a3c237b8c4850f96534da6.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. (From OE-Core rev: bae9c6482271d53dc28d3c801fba467e268003bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 09725a29365c69ccbd603fe3a1de72189f26d5ac) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass1
1 files changed, 1 insertions, 0 deletions
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,
1014 bb.parse.siggen.checkhashes(sq_data, missed, found, d) 1014 bb.parse.siggen.checkhashes(sq_data, missed, found, d)
1015 1015
1016 return found 1016 return found
1017setscene_depvalid[vardepsexclude] = "SSTATE_EXCLUDEDEPS_SYSROOT"
1017 1018
1018BB_SETSCENE_DEPVALID = "setscene_depvalid" 1019BB_SETSCENE_DEPVALID = "setscene_depvalid"
1019 1020