* [PATCH] sstate: when warnings about sysroot overwrites, say what the recipe was
@ 2012-10-18 9:49 Ross Burton
2012-10-18 20:33 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2012-10-18 9:49 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/classes/sstate.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 3fcaa65..b20b19c 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -165,7 +165,7 @@ def sstate_install(ss, d):
if realmatch:
match.append(f)
if match:
- bb.warn("The recipe is trying to install files into a shared area when those files already exist. Those files are:\n %s" % "\n ".join(match))
+ bb.warn("The recipe %s is trying to install files into a shared area when those files already exist. Those files are:\n %s" % (d.getVar("PN", True), "\n ".join(match)))
# Write out the manifest
f = open(manifest, "w")
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sstate: when warnings about sysroot overwrites, say what the recipe was
2012-10-18 9:49 [PATCH] sstate: when warnings about sysroot overwrites, say what the recipe was Ross Burton
@ 2012-10-18 20:33 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-10-18 20:33 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core
On 10/18/2012 02:49 AM, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/classes/sstate.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
> index 3fcaa65..b20b19c 100644
> --- a/meta/classes/sstate.bbclass
> +++ b/meta/classes/sstate.bbclass
> @@ -165,7 +165,7 @@ def sstate_install(ss, d):
> if realmatch:
> match.append(f)
> if match:
> - bb.warn("The recipe is trying to install files into a shared area when those files already exist. Those files are:\n %s" % "\n ".join(match))
> + bb.warn("The recipe %s is trying to install files into a shared area when those files already exist. Those files are:\n %s" % (d.getVar("PN", True), "\n ".join(match)))
>
> # Write out the manifest
> f = open(manifest, "w")
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-18 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 9:49 [PATCH] sstate: when warnings about sysroot overwrites, say what the recipe was Ross Burton
2012-10-18 20:33 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox