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-14 12:01:44 +0100 |
commit | 1248b7166bca073e17cd9a50ccbb185447e60dcf (patch) | |
tree | ae3cf816be3245988de829e862936f69fa47a688 | |
parent | 10bdd800e3e0ed8c353daeba8b7b785a261d06f1 (diff) | |
download | poky-1248b7166bca073e17cd9a50ccbb185447e60dcf.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: 084d81058682e0c9074203c907f80d6eabe63534)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09725a29365c69ccbd603fe3a1de72189f26d5ac)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 55d2937812..5c7a98839f 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, | |||
1018 | bb.parse.siggen.checkhashes(sq_data, missed, found, d) | 1018 | bb.parse.siggen.checkhashes(sq_data, missed, found, d) |
1019 | 1019 | ||
1020 | return found | 1020 | return found |
1021 | setscene_depvalid[vardepsexclude] = "SSTATE_EXCLUDEDEPS_SYSROOT" | ||
1021 | 1022 | ||
1022 | BB_SETSCENE_DEPVALID = "setscene_depvalid" | 1023 | BB_SETSCENE_DEPVALID = "setscene_depvalid" |
1023 | 1024 | ||