[oe-commits] [openembedded-core] branch master-next updated: fixup

git at git.openembedded.org git at git.openembedded.org
Sat Dec 28 11:56:08 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

The following commit(s) were added to refs/heads/master-next by this push:
     new d53b901  fixup
d53b901 is described below

commit d53b9016847bcf524e6d0388c7b695b206237b7c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Dec 28 11:36:21 2019 +0000

    fixup
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/sstatesig.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 01f82d5..ca3c6df 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -143,10 +143,11 @@ class SignatureGeneratorOEBasicHashMixIn(object):
 
     def prep_taskhash(self, tid, deps, dataCache):
         super().prep_taskhash(tid, deps, dataCache)
-        (_, _, _, fn) = bb.runqueue.split_tid_mcfn(tid)
-        inherits = " ".join(dataCache.inherits[fn])    
-        if inherits.find("/native.bbclass") != -1 or inherits.find("/cross.bbclass") != -1:
-            self.extramethod[tid] = ":" + self.buildarch
+        if hasattr(self, "extramethod"):
+            (_, _, _, fn) = bb.runqueue.split_tid_mcfn(tid)
+            inherits = " ".join(dataCache.inherits[fn])    
+            if inherits.find("/native.bbclass") != -1 or inherits.find("/cross.bbclass") != -1:
+                self.extramethod[tid] = ":" + self.buildarch
 
     def get_taskhash(self, tid, deps, dataCache):
         if tid in self.lockedhashes:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list