[oe-commits] Ross Burton : sstate: when warnings about sysroot overwrites, say what the recipe was
git at git.openembedded.org
git at git.openembedded.org
Thu Oct 18 11:26:29 UTC 2012
Module: openembedded-core.git
Branch: master-next
Commit: 936e2868bb9973213630477ab9c880dbdf4aac09
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=936e2868bb9973213630477ab9c880dbdf4aac09
Author: Ross Burton <ross.burton at intel.com>
Date: Thu Oct 18 10:49:59 2012 +0100
sstate: when warnings about sysroot overwrites, say what the recipe was
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/sstate.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index b60c766..d2a120b 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")
More information about the Openembedded-commits
mailing list