toaster.bbclass: image file is missing a "/"

Relaced the key with the join between path and file name.

[YOCTO #6090]
(From OE-Core rev: 85ffc93becb31772107a5a63b09fd3c16160f3ca)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Cristiana Voicu 2014-04-07 11:50:24 +03:00 committed by Richard Purdie
parent ac34639ab8
commit 38ef912202
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ python toaster_image_dumpdata() {
for dirpath, dirnames, filenames in os.walk(deploy_dir_image):
for fn in filenames:
if fn.startswith(image_name):
image_info_data[dirpath + fn] = os.stat(os.path.join(dirpath, fn)).st_size
image_output = os.path.join(dirpath, fn)
image_info_data[image_output] = os.stat(image_output).st_size
bb.event.fire(bb.event.MetadataEvent("ImageFileSize",image_info_data), d)
}