mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
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:
committed by
Richard Purdie
parent
ac34639ab8
commit
38ef912202
@@ -153,7 +153,8 @@ python toaster_image_dumpdata() {
|
|||||||
for dirpath, dirnames, filenames in os.walk(deploy_dir_image):
|
for dirpath, dirnames, filenames in os.walk(deploy_dir_image):
|
||||||
for fn in filenames:
|
for fn in filenames:
|
||||||
if fn.startswith(image_name):
|
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)
|
bb.event.fire(bb.event.MetadataEvent("ImageFileSize",image_info_data), d)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user