[oe-commits] Saul Wold : sstate: fetch .siginfo files from SSTATE_MIRROR

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 12:34:50 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 6d86690330f0d43839b904fced4b4b02cb27b8c6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6d86690330f0d43839b904fced4b4b02cb27b8c6

Author: Saul Wold <sgw at linux.intel.com>
Date:   Tue Dec  4 00:32:44 2012 +0000

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/sstate.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 832b39e..29c1007 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)





More information about the Openembedded-commits mailing list