All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Do not depend on BBFILES to compute scm dirs
@ 2011-05-11  4:35 Khem Raj
  2011-05-11  4:35 ` [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Khem Raj @ 2011-05-11  4:35 UTC (permalink / raw)
  To: OE core

This fixes the problem that I described in 
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001966.html

Additionally we do not need directories with */packages/* in BBFILES
anymore

Pull URL: git://git.openembedded.org/openembedded-core-contrib
  Branch: kraj/misc-fixes
  Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc-fixes

Thanks,
    Khem Raj <raj.khem@gmail.com>
---


Khem Raj (2):
  metadata_scm.bbclass: Use COREBASE to grok for SCM operations
  meta/conf/layer.conf: Remove packages/*bb from BBFILES

 meta/classes/metadata_scm.bbclass |    5 +----
 meta/conf/layer.conf              |    2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations
  2011-05-11  4:35 [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Khem Raj
@ 2011-05-11  4:35 ` Khem Raj
  2011-05-11  6:34   ` Koen Kooi
  2011-05-11  4:35 ` [PATCH 2/2] meta/conf/layer.conf: Remove packages/*bb from BBFILES Khem Raj
  2011-05-11  9:00 ` [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Richard Purdie
  2 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2011-05-11  4:35 UTC (permalink / raw)
  To: OE core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/metadata_scm.bbclass |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass
index 7112ad5..99ac05c 100644
--- a/meta/classes/metadata_scm.bbclass
+++ b/meta/classes/metadata_scm.bbclass
@@ -25,12 +25,9 @@ def base_detect_branch(d):
 			return rev.strip()
 
 	return "<unknown>"	
-	
-	
 
 def base_get_scmbasepath(d):
-	path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split()
-	return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )]
+	return bb.data.getVar( 'COREBASE', d, 1 )
 
 def base_get_metadata_monotone_branch(path, d):
 	monotone_branch = "<unknown>"
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] meta/conf/layer.conf: Remove packages/*bb from BBFILES
  2011-05-11  4:35 [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Khem Raj
  2011-05-11  4:35 ` [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
@ 2011-05-11  4:35 ` Khem Raj
  2011-05-11  9:00 ` [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Richard Purdie
  2 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2011-05-11  4:35 UTC (permalink / raw)
  To: OE core

packages directory has been divided into recipes-*/ dirs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/layer.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 3f63c7d..ad95405 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -2,7 +2,7 @@ BBPATH ?= ""
 # We have a conf and classes directory, add to BBPATH
 BBPATH .= ":${LAYERDIR}"
 # We have a packages directory, add to BBFILES
-BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
 
 BBFILE_COLLECTIONS += "normal"
 BBFILE_PATTERN_normal := "^${LAYERDIR}/"
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations
  2011-05-11  4:35 ` [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
@ 2011-05-11  6:34   ` Koen Kooi
  0 siblings, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2011-05-11  6:34 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 11 mei 2011, om 06:35 heeft Khem Raj het volgende geschreven:

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

This fixes bitbake bombing out after moving OE-core down in bblayers.conf:

Acked-by: Koen Kooi <koen@dominion.thruhere.net>


> ---
> meta/classes/metadata_scm.bbclass |    5 +----
> 1 files changed, 1 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass
> index 7112ad5..99ac05c 100644
> --- a/meta/classes/metadata_scm.bbclass
> +++ b/meta/classes/metadata_scm.bbclass
> @@ -25,12 +25,9 @@ def base_detect_branch(d):
> 			return rev.strip()
> 
> 	return "<unknown>"	
> -	
> -	
> 
> def base_get_scmbasepath(d):
> -	path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split()
> -	return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )]
> +	return bb.data.getVar( 'COREBASE', d, 1 )
> 
> def base_get_metadata_monotone_branch(path, d):
> 	monotone_branch = "<unknown>"
> -- 
> 1.7.4.1
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Do not depend on BBFILES to compute scm dirs
  2011-05-11  4:35 [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Khem Raj
  2011-05-11  4:35 ` [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
  2011-05-11  4:35 ` [PATCH 2/2] meta/conf/layer.conf: Remove packages/*bb from BBFILES Khem Raj
@ 2011-05-11  9:00 ` Richard Purdie
  2 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2011-05-11  9:00 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-05-10 at 21:35 -0700, Khem Raj wrote:
> This fixes the problem that I described in 
> http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001966.html
> 
> Additionally we do not need directories with */packages/* in BBFILES
> anymore
> 
> Pull URL: git://git.openembedded.org/openembedded-core-contrib
>   Branch: kraj/misc-fixes
>   Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc-fixes
> 
> Thanks,
>     Khem Raj <raj.khem@gmail.com>
> ---
> 
> 
> Khem Raj (2):
>   metadata_scm.bbclass: Use COREBASE to grok for SCM operations
>   meta/conf/layer.conf: Remove packages/*bb from BBFILES

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-11  9:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11  4:35 [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Khem Raj
2011-05-11  4:35 ` [PATCH 1/2] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
2011-05-11  6:34   ` Koen Kooi
2011-05-11  4:35 ` [PATCH 2/2] meta/conf/layer.conf: Remove packages/*bb from BBFILES Khem Raj
2011-05-11  9:00 ` [PATCH 0/2] Do not depend on BBFILES to compute scm dirs Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.