Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] patch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the correct function
@ 2012-01-13 16:27 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-01-13 16:27 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 335d02e..471c32b 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -105,6 +105,8 @@ def should_apply(parm, d):
 
 	return True, None
 
+should_apply[vardepsexclude] = "DATE SRCDATE"
+
 python patch_do_patch() {
 	import oe.patch
 
@@ -155,7 +157,7 @@ python patch_do_patch() {
 			bb.fatal(str(exc))
 		resolver.Resolve()
 }
-patch_do_patch[vardepsexclude] = "DATE SRCDATE PATCHRESOLVE"
+patch_do_patch[vardepsexclude] = "PATCHRESOLVE"
 
 addtask patch after do_unpack
 do_patch[dirs] = "${WORKDIR}"





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-13 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 16:27 [PATCH] patch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the correct function Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox