summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/toaster.bbclass3
1 files changed, 2 insertions, 1 deletions
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)
}