]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Fix rebuilds when changing layer config
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Aug 2021 12:47:21 +0000 (13:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Aug 2021 12:47:32 +0000 (13:47 +0100)
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>
meta/classes/sstate.bbclass

index f6710fc28351cf2414c413350ef51adc29210d95..554e401ee25203b8502b50b28d4221bca6183be1 100644 (file)
@@ -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"