From 6d86690330f0d43839b904fced4b4b02cb27b8c6 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 4 Dec 2012 00:32:44 +0000 Subject: 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 --- meta/classes/sstate.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/sstate.bbclass') 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): 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) -- cgit 1.2.3-korg