summaryrefslogtreecommitdiffstats
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:31:19 +0000
commit97a91e81eaa4a893582161a13465775183669965 (patch)
tree82f4585deb4f2c45d4e5e27c493792e9d2246ba4
parenta2908e20c48cb81a2abd817e0cf2242a362f28a9 (diff)
downloadpoky-97a91e81eaa4a893582161a13465775183669965.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] (From OE-Core rev: 6d86690330f0d43839b904fced4b4b02cb27b8c6) 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 832b39e7ee..29c10072fe 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -216,6 +216,8 @@ def sstate_installpkg(ss, d):
216 216
217 if not os.path.exists(sstatepkg): 217 if not os.path.exists(sstatepkg):
218 pstaging_fetch(sstatefetch, sstatepkg, d) 218 pstaging_fetch(sstatefetch, sstatepkg, d)
219 if not os.path.exists(sstagepkg + ".siginfo"):
220 pstaging_fetch(sstatefetch + ".siginfo", ssstatepkg + ".siginfo", d)
219 221
220 if not os.path.isfile(sstatepkg): 222 if not os.path.isfile(sstatepkg):
221 bb.note("Staging package %s does not exist" % sstatepkg) 223 bb.note("Staging package %s does not exist" % sstatepkg)