diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2014-04-07 11:50:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-08 13:59:11 +0100 |
commit | 85ffc93becb31772107a5a63b09fd3c16160f3ca (patch) | |
tree | 3c36c7d6bf24259ade1efed51667c934549c2183 /meta/classes | |
parent | f53b6770554d868d287bed0d15194fdb9ed6a779 (diff) | |
download | openembedded-core-85ffc93becb31772107a5a63b09fd3c16160f3ca.tar.gz openembedded-core-85ffc93becb31772107a5a63b09fd3c16160f3ca.tar.bz2 openembedded-core-85ffc93becb31772107a5a63b09fd3c16160f3ca.zip |
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 <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/toaster.bbclass | 3 |
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) } |