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

Damian, Alexandru alexandru.damian at intel.com
Fri Apr 4 06:32:30 PDT 2014


Taken,

Thank you,
Alex


On Wed, Apr 2, 2014 at 2:11 PM, 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
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140404/6452a66c/attachment.html>


More information about the toaster mailing list