From: Saul Wold Date: Tue, 4 Dec 2012 00:32:44 +0000 (+0000) Subject: sstate: fetch .siginfo files from SSTATE_MIRROR X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d86690330f0d43839b904fced4b4b02cb27b8c6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- 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)