[OE-core] [PATCH] lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures

Martin Jansa martin.jansa at gmail.com
Wed Jan 25 13:57:29 UTC 2012


On Tue, Jan 24, 2012 at 05:11:14PM +0000, Richard Purdie wrote:
> 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.

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>

> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
> index 247f592..ee7cbad 100644
> --- a/meta/lib/oe/sstatesig.py
> +++ b/meta/lib/oe/sstatesig.py
> @@ -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
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120125/1f973e82/attachment-0002.sig>


More information about the Openembedded-core mailing list