From: Ross Burton Date: Thu, 18 Oct 2012 09:49:59 +0000 (+0100) Subject: sstate: when warnings about sysroot overwrites, say what the recipe was X-Git-Tag: yocto-4.0~35222 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=936e2868bb9973213630477ab9c880dbdf4aac09;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sstate: when warnings about sysroot overwrites, say what the recipe was Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index b60c7660934..d2a120b11ba 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")