aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-12-04 00:32:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-06 12:30:38 +0000
commit6d86690330f0d43839b904fced4b4b02cb27b8c6 (patch)
treef47ac2cf1ca60d841c5d55b18e1d8d15706b3f8c
parent61e7de12a8e735c36ca3285f6a77d7b7cb863207 (diff)
downloadopenembedded-core-contrib-6d86690330f0d43839b904fced4b4b02cb27b8c6.tar.gz
sstate: fetch .siginfo files from SSTATE_MIRROR
This would be useful for doing siginfo compares to understand why a build is not reusing something when using SSTATE_MIRROR. No error will be reported if it fails to find the .siginfo file [YOCTO #2898] [RP: Small tweaks] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 832b39e7ee7..29c10072fed 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -216,6 +216,8 @@ def sstate_installpkg(ss, d):
if not os.path.exists(sstatepkg):
pstaging_fetch(sstatefetch, sstatepkg, d)
+ if not os.path.exists(sstagepkg + ".siginfo"):
+ pstaging_fetch(sstatefetch + ".siginfo", ssstatepkg + ".siginfo", d)
if not os.path.isfile(sstatepkg):
bb.note("Staging package %s does not exist" % sstatepkg)