[OE-core] [PATCH][review-request] toaster.bbclass: image file is missing a "/"

Alex Damian alex.r.damian at gmail.com
Tue Apr 8 12:30:30 UTC 2014


This is indeed the patch reviewed on the list.

Sorry about the mixup, can you please merge ?

Thanks,
Alex


On Mon, Apr 7, 2014 at 9:50 AM, Cristiana Voicu
<cristiana.voicu at intel.com>wrote:

> Relaced the key with the join between path and file name.
>
> [YOCTO #6090]
> Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
> ---
>  meta/classes/toaster.bbclass |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
> index 9fb2cec..d2fa82d 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)
>  }
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140408/a2519a17/attachment-0002.html>


More information about the Openembedded-core mailing list