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:59 +0100 |
| commit | 38ef912202ebf2a79de7b62e53276559664cb53d (patch) | |
| tree | 9f570f9df915b6ebf68461b75db0fdc41ba10c8a | |
| parent | ac34639ab88ebda0ee55be9a2e13109b75167405 (diff) | |
| download | poky-38ef912202ebf2a79de7b62e53276559664cb53d.tar.gz | |
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>
| -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 9fb2cec4e4..d2fa82d730 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass | |||
| @@ -153,7 +153,8 @@ python toaster_image_dumpdata() { | |||
| 153 | for dirpath, dirnames, filenames in os.walk(deploy_dir_image): | 153 | for dirpath, dirnames, filenames in os.walk(deploy_dir_image): |
| 154 | for fn in filenames: | 154 | for fn in filenames: |
| 155 | if fn.startswith(image_name): | 155 | if fn.startswith(image_name): |
| 156 | image_info_data[dirpath + fn] = os.stat(os.path.join(dirpath, fn)).st_size | 156 | image_output = os.path.join(dirpath, fn) |
| 157 | image_info_data[image_output] = os.stat(image_output).st_size | ||
| 157 | 158 | ||
| 158 | bb.event.fire(bb.event.MetadataEvent("ImageFileSize",image_info_data), d) | 159 | bb.event.fire(bb.event.MetadataEvent("ImageFileSize",image_info_data), d) |
| 159 | } | 160 | } |
