summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-11-20 10:24:16 +0100
committerKoen Kooi <koen@openembedded.org>2009-11-20 10:24:16 +0100
commit603e1cf2f9901603452544d79f6d8d8aeb57dec8 (patch)
tree77ce5238731d6a9e245dd686f8386535fc33ed30 /classes
parentf25438c7b94a65b063aaeff8abba94ba1a6c5759 (diff)
package bbclass: give better diagnostic when bb.copyfile fails
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 246ecd4ecc..008eca5530 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -428,7 +428,7 @@ python populate_packages () {
bb.mkdirhier(dpath)
ret = bb.copyfile(file, fpath)
if ret is False or ret == 0:
- raise bb.build.FuncFailed("File population failed")
+ raise bb.build.FuncFailed("File population failed when copying %s to %s" % (file, fpath))
if pkg == main_pkg and main_is_empty:
main_is_empty = 0
del localdata