[oe-commits] Khem Raj : lib/oe/sstatesig.py: Exclude git-native from sstate checksum

git at git.openembedded.org git at git.openembedded.org
Wed Jul 11 14:58:57 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: fd58f5fba8938826ba0fbf1b463661a9118003f3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fd58f5fba8938826ba0fbf1b463661a9118003f3

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Jul  9 12:31:38 2012 -0700

lib/oe/sstatesig.py: Exclude git-native from sstate checksum

gcc exposed this issue where cross gcc recipes were not having
same task checksums as libgcc or gcc-runtime the target recipes
which use same shared workdir and it was triggering the unpack
fetch and patch tasks to reexecute and hence the trouble

Now that we have more than 1 package to consider lets combine
the check

Thanks RP for help and this is on the line of patch
793ce6cd9aa632e0f13789c8293770a86085d28d

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 meta/lib/oe/sstatesig.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 4cd1221..20d94b2 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -17,10 +17,8 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
         return True
 
     # Quilt (patch application) changing isn't likely to affect anything
-    if depname == "quilt-native" and recipename != "quilt-native":
-        return False
-    # Subversion also isn't likely to affect anything
-    if depname == "subversion-native" and recipename != "subversion-native":
+    excludelist = ['quilt-native', 'subversion-native', 'git-native']
+    if depname in excludelist and recipename != depname:
         return False
 
     # Don't change native/cross/nativesdk recipe dependencies any further





More information about the Openembedded-commits mailing list