Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
Date: Wed, 25 Jan 2012 14:57:29 +0100	[thread overview]
Message-ID: <20120125135729.GD3843@jama.jama.net> (raw)
In-Reply-To: <1327425074.19643.101.camel@ted>

[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]

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@gmail.com>

> 
> Signed-off-by: Richard Purdie <richard.purdie@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2012-01-25 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 17:11 [PATCH] lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures Richard Purdie
2012-01-25 13:57 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120125135729.GD3843@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox