[bitbake-devel] [PATCH] toaster: convert build_package size to bytes to keep consistence
Voicu, Cristiana
cristiana.voicu at intel.com
Fri Nov 15 11:47:04 UTC 2013
Hi Richard,
This was merged to master, and it should be merged to dora-toaster branch too.
Can you please merge it?
Thanks,
Cristiana
-----Original Message-----
From: Voicu, Cristiana
Sent: Tuesday, November 12, 2013 4:50 PM
To: bitbake-devel at lists.openembedded.org
Cc: Voicu, Cristiana
Subject: [PATCH] toaster: convert build_package size to bytes to keep consistence
[YOCTO #5503]
Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
---
bitbake/lib/bb/ui/buildinfohelper.py | 2 +-
.../lib/toaster/bldviewer/templates/bpackage.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index c3809ef..6dcf459 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -186,7 +186,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 2e254db..4e6d9c6 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>
--
1.7.9.5
More information about the bitbake-devel
mailing list