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:30:38 +0000 |
commit | 6d86690330f0d43839b904fced4b4b02cb27b8c6 (patch) | |
tree | f47ac2cf1ca60d841c5d55b18e1d8d15706b3f8c /meta/classes/sstate.bbclass | |
parent | 61e7de12a8e735c36ca3285f6a77d7b7cb863207 (diff) | |
download | openembedded-core-6d86690330f0d43839b904fced4b4b02cb27b8c6.tar.gz openembedded-core-6d86690330f0d43839b904fced4b4b02cb27b8c6.tar.bz2 openembedded-core-6d86690330f0d43839b904fced4b4b02cb27b8c6.zip |
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@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 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) |