sstate: when warnings about sysroot overwrites, say what the recipe was

(From OE-Core rev: 936e2868bb9973213630477ab9c880dbdf4aac09)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2012-10-18 10:49:59 +01:00
committed by Richard Purdie
parent a008df240c
commit 3bf1848cb7

View File

@@ -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")