summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-13 16:23:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-13 16:56:36 +0000
commit8a98af2bb5858ef5fd47cf44183eb73a154043dc (patch)
tree317fc99ee9c13f4a6e4f27100d9e6de0dc4c0795 /meta
parent0f4d99d207b224bb9ce23de00a48f795ae20b3a0 (diff)
downloadpoky-8a98af2bb5858ef5fd47cf44183eb73a154043dc.tar.gz
patch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the correct function
People have noticed that sstate is now getting invalidated very readily. The issue is that the code using these variables was factored into a new function but the variable exclusion was not. This patch moves the variable exclusion to the correct place allowing the sstate checksums to work correctly. (From OE-Core rev: bd047935305c872b565f30b46c94b7077e5fb3a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/patch.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 335d02ec71..471c32bce2 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -105,6 +105,8 @@ def should_apply(parm, d):
105 105
106 return True, None 106 return True, None
107 107
108should_apply[vardepsexclude] = "DATE SRCDATE"
109
108python patch_do_patch() { 110python patch_do_patch() {
109 import oe.patch 111 import oe.patch
110 112
@@ -155,7 +157,7 @@ python patch_do_patch() {
155 bb.fatal(str(exc)) 157 bb.fatal(str(exc))
156 resolver.Resolve() 158 resolver.Resolve()
157} 159}
158patch_do_patch[vardepsexclude] = "DATE SRCDATE PATCHRESOLVE" 160patch_do_patch[vardepsexclude] = "PATCHRESOLVE"
159 161
160addtask patch after do_unpack 162addtask patch after do_unpack
161do_patch[dirs] = "${WORKDIR}" 163do_patch[dirs] = "${WORKDIR}"