[bitbake-devel] [PATCH] hob: image size displayed wrong size in edit packages screen

Richard Purdie richard.purdie at linuxfoundation.org
Wed Oct 24 20:10:09 UTC 2012


On Fri, 2012-10-12 at 12:06 +0300, Andrei Dinu wrote:
> size_str = '%.1f' % (size*1.0/(1024*1024)) + ' MB'
>     from /bitbake/lib/bb/ui/crumbs/hobpages.py file transformed
>     the size in MB. In our file it was again multiplied by 1024
>     instead of doing a division by 1024, which brought a faulty size on
>     the edit packages screen.
> 
> Signed-off-by: Andrei Dinu <andrei.adrianx.dinu at intel.com>
> ---
>  bitbake/lib/bb/ui/crumbs/packageselectionpage.py |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard





More information about the bitbake-devel mailing list