summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-04 22:49:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-04 22:51:43 +0000
commit4e9eb77108c7e628ebd00ec848b8bc034802e197 (patch)
tree68b19e5aa731a77b1d1587233162fad6c94e963e /meta/classes/sstate.bbclass
parent707cdcf9050397ce48c81a7225ca01f618b9a87a (diff)
downloadpoky-4e9eb77108c7e628ebd00ec848b8bc034802e197.tar.gz
sstate: Improve funciton checksums
Now that bitbake is recursing into pre/postfuncs, we need to ensure the dependencies of these functions is correct. We don't want dependencies on MACHINE or other related variables. This patch adds in appropriate variable exclusions to achieve this. (From OE-Core rev: 8461283a648d7c5affd51971ebd9b35a8a4c625f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 23d7de6556..ec9c5463ea 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -211,6 +211,8 @@ def sstate_install(ss, d):
211 for lock in locks: 211 for lock in locks:
212 bb.utils.unlockfile(lock) 212 bb.utils.unlockfile(lock)
213 213
214sstate_install[vardepsexclude] = "SSTATE_DUPWHITELIST STATE_MANMACH SSTATE_MANFILEPREFIX"
215
214def sstate_installpkg(ss, d): 216def sstate_installpkg(ss, d):
215 import oe.path 217 import oe.path
216 import subprocess 218 import subprocess
@@ -373,6 +375,8 @@ def sstate_clean(ss, d):
373 stfile.endswith(rm_nohash): 375 stfile.endswith(rm_nohash):
374 oe.path.remove(stfile) 376 oe.path.remove(stfile)
375 377
378sstate_clean[vardepsexclude] = "SSTATE_MANFILEPREFIX"
379
376CLEANFUNCS += "sstate_cleanall" 380CLEANFUNCS += "sstate_cleanall"
377 381
378python sstate_cleanall() { 382python sstate_cleanall() {