From 85ffc93becb31772107a5a63b09fd3c16160f3ca Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Mon, 7 Apr 2014 11:50:24 +0300 Subject: toaster.bbclass: image file is missing a "/" Relaced the key with the join between path and file name. [YOCTO #6090] Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- meta/classes/toaster.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/classes/toaster.bbclass') diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass index f7518ad61f..cab5966e0f 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass @@ -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) } -- cgit v1.2.3