]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jan 2012 17:11:14 +0000 (17:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jan 2012 14:29:26 +0000 (14:29 +0000)
Where we have machine specific recipes with well defined behaviour, it makes
no sense to rebuild recipes with these as dependencies whenever the machine
changes. This patch lists those well behaved recipes and excludes them from
the task signatures so we can change MACHINE without invalidating existing
PACKAGE_ARCH binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index 247f59261b5800f83a491636c500e98fd6c1d044..ee7cbad0d99f7f27763ac2f398c9255f9936aa22 100644 (file)
@@ -26,6 +26,10 @@ def sstate_rundepfilter(fn, recipename, task, dep, depname):
     if isNative(depname) or isCross(depname) or isNativeSDK(depname):
         return False
 
+    # Exclude well defined machine specific configurations which don't change ABI
+    if depname in ['sysvinit-inittab', 'shadow-securetty', 'opkg-config-base', 'netbase', 'formfactor', 'xserver-xf86-config', 'pointercal', 'base-files']:
+        return False
+
     # Default to keep dependencies
     return True