Patchwork layer.conf: exclude meta-environment with SIGGEN_EXCLUDERECIPES_ABISAFE

login
register
mail settings
Submitter Richard Purdie
Date Feb. 29, 2012, 1:24 p.m.
Message ID <1330521852.24508.42.camel@ted>
Download mbox | patch
Permalink /patch/22417/
State New
Headers show

Comments

Richard Purdie - Feb. 29, 2012, 1:24 p.m.
On Wed, 2012-02-29 at 11:47 +0100, Martin Jansa wrote:
> * it's machine specific and depends on TIME
>   basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b
>   Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from
>   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d
>   to
>   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d
>   Variable TIME value changed from 084543 to 085638
> * causes task-cross-canadian to be also machine specific

I think a better way to fix this might be:


Cheers,

Richard
Martin Jansa - March 9, 2012, 8:29 a.m.
On Wed, Feb 29, 2012 at 01:24:12PM +0000, Richard Purdie wrote:
> On Wed, 2012-02-29 at 11:47 +0100, Martin Jansa wrote:
> > * it's machine specific and depends on TIME
> >   basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b
> >   Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from
> >   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d
> >   to
> >   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d
> >   Variable TIME value changed from 084543 to 085638
> > * causes task-cross-canadian to be also machine specific
> 
> I think a better way to fix this might be:

Agreed, please push your patch instead.

Cheers,

> 
> diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
> index 6fc9c13..6ca85d9 100644
> --- a/meta/classes/toolchain-scripts.bbclass
> +++ b/meta/classes/toolchain-scripts.bbclass
> @@ -127,6 +127,8 @@ toolchain_create_sdk_siteconfig () {
>                 fi
>         done
>  }
> +# The immediate expansion above can result in unwanted path dependencies here
> +toolchain_create_sdk_siteconfig[vardepsexclude] = "TOOLCHAIN_CONFIGSITE_SYSROOTCACHE"
>  
>  #This function create a version information file
>  toolchain_create_sdk_version () {
> @@ -138,6 +140,7 @@ toolchain_create_sdk_version () {
>         echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
>         echo 'Timestamp: ${DATETIME}' >> $versionfile
>  }
> +toolchain_create_sdk_version[vardepsexclude] = "DATETIME"
>  
>  python __anonymous () {
>      deps = d.getVarFlag('do_configure', 'depends') or ""
> 
> Cheers,
> 
> Richard
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Richard Purdie - March 9, 2012, 2:22 p.m.
On Fri, 2012-03-09 at 09:29 +0100, Martin Jansa wrote:
> On Wed, Feb 29, 2012 at 01:24:12PM +0000, Richard Purdie wrote:
> > On Wed, 2012-02-29 at 11:47 +0100, Martin Jansa wrote:
> > > * it's machine specific and depends on TIME
> > >   basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b
> > >   Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from
> > >   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d
> > >   to
> > >   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d
> > >   Variable TIME value changed from 084543 to 085638
> > > * causes task-cross-canadian to be also machine specific
> > 
> > I think a better way to fix this might be:
> 
> Agreed, please push your patch instead.

I already have :)

Cheers,

Richard

Patch

diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 6fc9c13..6ca85d9 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -127,6 +127,8 @@  toolchain_create_sdk_siteconfig () {
                fi
        done
 }
+# The immediate expansion above can result in unwanted path dependencies here
+toolchain_create_sdk_siteconfig[vardepsexclude] = "TOOLCHAIN_CONFIGSITE_SYSROOTCACHE"
 
 #This function create a version information file
 toolchain_create_sdk_version () {
@@ -138,6 +140,7 @@  toolchain_create_sdk_version () {
        echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
        echo 'Timestamp: ${DATETIME}' >> $versionfile
 }
+toolchain_create_sdk_version[vardepsexclude] = "DATETIME"
 
 python __anonymous () {
     deps = d.getVarFlag('do_configure', 'depends') or ""