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.

(From OE-Core rev: 793ce6cd9aa632e0f13789c8293770a86085d28d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-07-05 11:31:38 +00:00
parent e3b3aaf4c7
commit bf9a8ec7f2
1 changed files with 4 additions and 0 deletions

View File

@ -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