diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-04 22:49:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-04 22:49:58 +0000 |
commit | 8461283a648d7c5affd51971ebd9b35a8a4c625f (patch) | |
tree | d3c244c736af6b28421bd0602b8f1871b67439f6 /meta | |
parent | a5ece6f37656fa56b97fd8faf52917345238d015 (diff) | |
download | openembedded-core-8461283a648d7c5affd51971ebd9b35a8a4c625f.tar.gz openembedded-core-8461283a648d7c5affd51971ebd9b35a8a4c625f.tar.bz2 openembedded-core-8461283a648d7c5affd51971ebd9b35a8a4c625f.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
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): for lock in locks: bb.utils.unlockfile(lock) +sstate_install[vardepsexclude] = "SSTATE_DUPWHITELIST STATE_MANMACH SSTATE_MANFILEPREFIX" + def sstate_installpkg(ss, d): import oe.path import subprocess @@ -373,6 +375,8 @@ def sstate_clean(ss, d): stfile.endswith(rm_nohash): oe.path.remove(stfile) +sstate_clean[vardepsexclude] = "SSTATE_MANFILEPREFIX" + CLEANFUNCS += "sstate_cleanall" python sstate_cleanall() { |