summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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
commit8c534107d9129489f96c3c6af56d45d806cc60ad (patch)
tree6b15bcfa04e18adcf613f7866ed8a0d29fc87a1f /bitbake/lib
parentb9d81043df6fee711a1f91ad236cbd4553275411 (diff)
downloadpoky-8c534107d9129489f96c3c6af56d45d806cc60ad.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>
Diffstat (limited to 'bitbake/lib')
-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):
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 2e254dbad6..4e6d9c6778 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>