Add PATCHRESOLVE to excluded vars for generating sstate-cache
PATCH 1/1 Add PATCHRESOLVE to excluded vars for generating sstate-cache
The method of resolving the patch should not effect the sstate-cache signature.
---
I'm not 100% sure about this one either - should we even generate sstate-cache at all if we have a scenario where we try to resolve a patch?
meta/classes/patch.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/patch.bbclass +1 -1
@@ -138,7 +138,7 @@ python patch_do_patch() { raise bb.build.FuncFailed(str(sys.exc_value)) resolver.Resolve() } -patch_do_patch[vardepsexclude] = "DATE SRCDATE" +patch_do_patch[vardepsexclude] = "DATE SRCDATE PATCHRESOLVE" addtask patch after do_unpack do_patch[dirs] = "${WORKDIR}"
Signature · 1 line
1.7.6.1
Richard Purdie
AppliedQuoted 11 lines · Matthew McClintock
The method of resolving the patch should not effect the sstate-cache signature.
Signed-off-by Matthew McClintock <[email protected]>---
I'm not 100% sure about this one either - should we even generate sstate-cache at all if we have a scenario where we try to resolve a patch?meta/classes/patch.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Merged to master, thanks.
In answer to the question, there clearly shouldn't be a dependency on this variable. We can depend on the variable even if the conditional code using it doesn't actually use the code as the dependency analysis doesn't account for conditional code paths.
Cheers,
Richard