lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
PATCH 1/1 lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
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.
---
meta/lib/oe/sstatesig.py +4 -0
@@ -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
Quoted 5 lines · Richard Purdie
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_ARCHbinaries.
Quoted 25 lines
Signed-off-by Richard Purdie <[email protected]>---
meta/lib/oe/sstatesig.py +4
-0@@ -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_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]