diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-12-04 00:32:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-06 12:31:19 +0000 |
commit | 97a91e81eaa4a893582161a13465775183669965 (patch) | |
tree | 82f4585deb4f2c45d4e5e27c493792e9d2246ba4 /meta/classes/sstate.bbclass | |
parent | a2908e20c48cb81a2abd817e0cf2242a362f28a9 (diff) | |
download | ast2050-yocto-poky-97a91e81eaa4a893582161a13465775183669965.zip ast2050-yocto-poky-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>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | 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) |