summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-11-12 16:50:24 +0200
committerAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-15 12:16:38 +0000
commitf20de8ac9064f25388c3d00c272fd24e818ff441 (patch)
tree65c7a443a0a500f42df9955e4c2e314cae5799b1
parente5cf3e598e1e36b87a6cb07829f8a5013d78f534 (diff)
downloadpoky-f20de8ac9064f25388c3d00c272fd24e818ff441.tar.gz
poky-f20de8ac9064f25388c3d00c272fd24e818ff441.tar.bz2
poky-f20de8ac9064f25388c3d00c272fd24e818ff441.zip
bitbake: toaster: convert build_package size to bytes to keep consistence
[YOCTO #5503] (Bitbake rev: 19eb6e01b675c439ff0a817be6fa5e34ad42ba37) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py2
-rw-r--r--bitbake/lib/toaster/bldviewer/templates/bpackage.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index fbf75466d0..2b0298e99e 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -180,7 +180,7 @@ class ORMWrapper(object):
revision = package_info['PKGR'],
summary = package_info['SUMMARY'],
description = package_info['DESCRIPTION'],
- size = package_info['PKGSIZE'],
+ size = int(package_info['PKGSIZE']) * 1024,
section = package_info['SECTION'],
license = package_info['LICENSE'],
)
diff --git a/bitbake/lib/toaster/bldviewer/templates/bpackage.html b/bitbake/lib/toaster/bldviewer/templates/bpackage.html
index 2e254dbad6..4e6d9c6778 100644
--- a/bitbake/lib/toaster/bldviewer/templates/bpackage.html
+++ b/bitbake/lib/toaster/bldviewer/templates/bpackage.html
@@ -13,7 +13,7 @@
<th>Summary</th>
<th>Section</th>
<th>Description</th>
- <th>Size on host disk (KBytes)</th>
+ <th>Size on host disk (Bytes)</th>
<th>License</th>
<th>Dependencies List (all)</th>
</tr>