[oe-commits] [bitbake] 01/01: siggen: Remove full path from unitaskhashes keys
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 26 13:42:24 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 28839becb956a097390f3b18625f2e30e81e6ff3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Sep 26 14:39:45 2019 +0100
siggen: Remove full path from unitaskhashes keys
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/siggen.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index dc829ee..bb660d2 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -386,7 +386,7 @@ class SignatureGeneratorUniHashMixIn(object):
def __get_task_unihash_key(self, tid):
# TODO: The key only *needs* to be the taskhash, the tid is just
# convenient
- return '%s:%s' % (tid, self.taskhash[tid])
+ return '%s:%s' % (tid.rsplit("/", 1)[1], self.taskhash[tid])
def get_stampfile_hash(self, tid):
if tid in self.taskhash:
@@ -457,7 +457,7 @@ class SignatureGeneratorUniHashMixIn(object):
tempdir = d.getVar('T')
fn = d.getVar('BB_FILENAME')
tid = fn + ':do_' + task
- key = tid + ':' + taskhash
+ key = tid.rsplit("/", 1)[1] + ':' + taskhash
if self.setscenetasks and tid not in self.setscenetasks:
return
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list