Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sanity: display the parsed BBPATH when complaining about CWD elements
@ 2012-07-19 16:15 Ross Burton
  2012-07-21  0:24 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2012-07-19 16:15 UTC (permalink / raw)
  To: openembedded-core

Many people don't understand the nuances of PATH/BBPATH, so help them by clarifying
the warning and displaying the parsed list element-by-element.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/sanity.bbclass |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 6ef5450..575ce15 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -400,6 +400,7 @@ def check_sanity(sanity_data):
                 "Please check your layer.conf files and other BBPATH "        \
                 "settings to remove the current working directory "           \
                 "references.");
+        bb.warn("Parsed BBPATH is" + str(bbpaths));
 
     if sanity_data.getVar('TARGET_ARCH', True) == "arm":
         # This path is no longer user-readable in modern (very recent) Linux
-- 
1.7.10




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

* Re: [PATCH] sanity: display the parsed BBPATH when complaining about CWD elements
  2012-07-19 16:15 [PATCH] sanity: display the parsed BBPATH when complaining about CWD elements Ross Burton
@ 2012-07-21  0:24 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-07-21  0:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/19/2012 09:15 AM, Ross Burton wrote:
> Many people don't understand the nuances of PATH/BBPATH, so help them by clarifying
> the warning and displaying the parsed list element-by-element.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   meta/classes/sanity.bbclass |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index 6ef5450..575ce15 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -400,6 +400,7 @@ def check_sanity(sanity_data):
>                   "Please check your layer.conf files and other BBPATH "        \
>                   "settings to remove the current working directory "           \
>                   "references.");
> +        bb.warn("Parsed BBPATH is" + str(bbpaths));
>
>       if sanity_data.getVar('TARGET_ARCH', True) == "arm":
>           # This path is no longer user-readable in modern (very recent) Linux
>

Merged into OE-Core

Thanks
	Sau!



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

end of thread, other threads:[~2012-07-21  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 16:15 [PATCH] sanity: display the parsed BBPATH when complaining about CWD elements Ross Burton
2012-07-21  0:24 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox