]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: when warnings about sysroot overwrites, say what the recipe was
authorRoss Burton <ross.burton@intel.com>
Thu, 18 Oct 2012 09:49:59 +0000 (10:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 11:07:43 +0000 (12:07 +0100)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index b60c7660934f28beaafb10a8a21ee43bfa7f698f..d2a120b11ba94c0f0516c0483f24de47b739c571 100644 (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")