diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:08:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-20 12:26:32 +0000 |
commit | 3ada51f7aa26fc95d5f9ba4498c0ea54acc6e42e (patch) | |
tree | 5205372e3c7fe3a7354c0c86efccc5a5d6fca48b /meta/lib/oe/sstatesig.py | |
parent | 9a1705e9a51a19499a40aea8bbca43a1d759bca1 (diff) | |
download | poky-3ada51f7aa26fc95d5f9ba4498c0ea54acc6e42e.tar.gz |
sstate/sstatesig: Add populate_lic to list of arch invariant sstate tasks
Like fetch, unpack and patch, populate_lic doesn't vary between different
archs so we should mark it as such. This means better sstate cache reuse
with fewer duplicate files as well as less confusing sstate debugging.
sstatesig also needs to account for the fact BPN is used for sstate files
in these cases.
(From OE-Core rev: 3d59d0bed756f64d0092caa3892239c779c4a341)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 68e53f661c..3011f16a77 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -103,6 +103,9 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
103 | if key.startswith('virtual:native:'): | 103 | if key.startswith('virtual:native:'): |
104 | pn = pn + '-native' | 104 | pn = pn + '-native' |
105 | 105 | ||
106 | if taskname in ['do_fetch', 'do_unpack', 'do_patch', 'do_populate_lic']: | ||
107 | pn.replace("-native", "") | ||
108 | |||
106 | filedates = {} | 109 | filedates = {} |
107 | 110 | ||
108 | # First search in stamps dir | 111 | # First search in stamps dir |