* [PATCH] lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
@ 2012-01-24 17:11 Richard Purdie
2012-01-25 13:57 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2012-01-24 17:11 UTC (permalink / raw)
To: openembedded-core
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
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
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2012-01-25 13:57 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-25 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox