summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-05 11:31:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-05 12:36:13 +0100
commit793ce6cd9aa632e0f13789c8293770a86085d28d (patch)
treec6607cd0ff4a9043985744ac5cee7d1303720428 /meta/lib
parentaf58d5c3a5c5e632aa20b1d007d47dbbfb4ed6e6 (diff)
downloadopenembedded-core-793ce6cd9aa632e0f13789c8293770a86085d28d.tar.gz
openembedded-core-793ce6cd9aa632e0f13789c8293770a86085d28d.tar.bz2
openembedded-core-793ce6cd9aa632e0f13789c8293770a86085d28d.zip
lib/oe/sstatesig.py: Exclude subversion-native from sstate checksums
If we don't do this, target and cross recipes end up with different sstate checksums for shared work directory tasks which is bad in the case of gcc. It leads to multiple fetch/unpack tasks against the shared directory which ends up with build failures/races. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/sstatesig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 1c25823f71..4cd1221686 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -19,6 +19,10 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
# 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":
+ return False
+
# Don't change native/cross/nativesdk recipe dependencies any further
if isNative(recipename) or isCross(recipename) or isNativeSDK(recipename):
return True