]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatesig: Handle special case of gcc-source shared-workdir for printdiff
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jan 2016 18:22:11 +0000 (18:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 15:41:07 +0000 (15:41 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index 6d1be3e3721f9fd159a65a464bf1f73306b28f55..d65586b355d1c587a4464f871e1c1bcc49f6d590 100644 (file)
@@ -236,6 +236,10 @@ def find_siginfo(pn, taskname, taskhashlist, d):
     localdata.setVar('PR', '*')
     localdata.setVar('EXTENDPE', '')
     stamp = localdata.getVar('STAMP', True)
+    if pn.startswith("gcc-source"):
+        # gcc-source shared workdir is a special case :(
+        stamp = localdata.expand("${STAMPS_DIR}/work-shared/gcc-${PV}-${PR}")
+
     filespec = '%s.%s.sigdata.*' % (stamp, taskname)
     foundall = False
     import glob