summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-11-12 14:50:24 (GMT)
committerAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-15 12:16:38 (GMT)
commitf20de8ac9064f25388c3d00c272fd24e818ff441 (patch)
tree65c7a443a0a500f42df9955e4c2e314cae5799b1
parente5cf3e598e1e36b87a6cb07829f8a5013d78f534 (diff)
downloadpoky-f20de8ac9064f25388c3d00c272fd24e818ff441.tar.gz
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 fbf7546..2b0298e 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -180,7 +180,7 @@ class ORMWrapper(object):
180 revision = package_info['PKGR'], 180 revision = package_info['PKGR'],
181 summary = package_info['SUMMARY'], 181 summary = package_info['SUMMARY'],
182 description = package_info['DESCRIPTION'], 182 description = package_info['DESCRIPTION'],
183 size = package_info['PKGSIZE'], 183 size = int(package_info['PKGSIZE']) * 1024,
184 section = package_info['SECTION'], 184 section = package_info['SECTION'],
185 license = package_info['LICENSE'], 185 license = package_info['LICENSE'],
186 ) 186 )
diff --git a/bitbake/lib/toaster/bldviewer/templates/bpackage.html b/bitbake/lib/toaster/bldviewer/templates/bpackage.html
index 2e254db..4e6d9c6 100644
--- a/bitbake/lib/toaster/bldviewer/templates/bpackage.html
+++ b/bitbake/lib/toaster/bldviewer/templates/bpackage.html
@@ -13,7 +13,7 @@
13 <th>Summary</th> 13 <th>Summary</th>
14 <th>Section</th> 14 <th>Section</th>
15 <th>Description</th> 15 <th>Description</th>
16 <th>Size on host disk (KBytes)</th> 16 <th>Size on host disk (Bytes)</th>
17 <th>License</th> 17 <th>License</th>
18 <th>Dependencies List (all)</th> 18 <th>Dependencies List (all)</th>
19 </tr> 19 </tr>