[OE-core] [PATCH] sstate: when warnings about sysroot overwrites, say what the recipe was

Saul Wold sgw at linux.intel.com
Thu Oct 18 20:33:43 UTC 2012


On 10/18/2012 02:49 AM, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton at 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!





More information about the Openembedded-core mailing list