diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-08 18:22:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 15:41:47 +0000 |
commit | 1ee08426d792ce27213dd411a885595d8435ae33 (patch) | |
tree | b1d08d150db0b8e75e763da3fe2183f570e92a08 /meta | |
parent | d93c212c06384be7bfb5540d75e4f1bc23560b67 (diff) | |
download | poky-1ee08426d792ce27213dd411a885595d8435ae33.tar.gz |
sstatesig: Handle special case of gcc-source shared-workdir for printdiff
Often, bitbake -S printdiff would show that there was a checksum not found
which would turn out to be from gcc-source. This is due to it being a
shared-workdir recipe.
For now, hardcode the special case into the sstatesig code to stop people
(including me) puzzling over this.
If/as/when we add any other shared workdir recipes, we'll need to rethink
this.
(From OE-Core rev: f11342f0c838b520828927c9d69f7c17309c1b48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 6d1be3e372..d65586b355 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -236,6 +236,10 @@ def find_siginfo(pn, taskname, taskhashlist, d): | |||
236 | localdata.setVar('PR', '*') | 236 | localdata.setVar('PR', '*') |
237 | localdata.setVar('EXTENDPE', '') | 237 | localdata.setVar('EXTENDPE', '') |
238 | stamp = localdata.getVar('STAMP', True) | 238 | stamp = localdata.getVar('STAMP', True) |
239 | if pn.startswith("gcc-source"): | ||
240 | # gcc-source shared workdir is a special case :( | ||
241 | stamp = localdata.expand("${STAMPS_DIR}/work-shared/gcc-${PV}-${PR}") | ||
242 | |||
239 | filespec = '%s.%s.sigdata.*' % (stamp, taskname) | 243 | filespec = '%s.%s.sigdata.*' % (stamp, taskname) |
240 | foundall = False | 244 | foundall = False |
241 | import glob | 245 | import glob |