summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-11-12 16:50:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-12 17:01:37 +0000
commit87d95d29d65ccf4ea14e1c6a7d42694df1bfb72c (patch)
tree4eb52a4566e293035eadc072f72b08f05db4bdd6 /bitbake
parente0a8f741270a16e5fa652a8e2b622a33146fbcb1 (diff)
downloadtizen-distro-87d95d29d65ccf4ea14e1c6a7d42694df1bfb72c.tar.gz
tizen-distro-87d95d29d65ccf4ea14e1c6a7d42694df1bfb72c.tar.bz2
tizen-distro-87d95d29d65ccf4ea14e1c6a7d42694df1bfb72c.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>
Diffstat (limited to 'bitbake')
-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>