All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] toaster: convert build_package size to bytes to keep consistence
@ 2013-11-12 14:50 Cristiana Voicu
  2013-11-15 11:47 ` Voicu, Cristiana
  0 siblings, 1 reply; 3+ messages in thread
From: Cristiana Voicu @ 2013-11-12 14:50 UTC (permalink / raw)
  To: bitbake-devel

[YOCTO #5503]
Signed-off-by: Cristiana Voicu <cristiana.voicu@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] toaster: convert build_package size to bytes to keep consistence
  2013-11-12 14:50 [PATCH] toaster: convert build_package size to bytes to keep consistence Cristiana Voicu
@ 2013-11-15 11:47 ` Voicu, Cristiana
  2013-11-15 11:57   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Voicu, Cristiana @ 2013-11-15 11:47 UTC (permalink / raw)
  To: Voicu, Cristiana, bitbake-devel@lists.openembedded.org

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@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@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] toaster: convert build_package size to bytes to keep consistence
  2013-11-15 11:47 ` Voicu, Cristiana
@ 2013-11-15 11:57   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2013-11-15 11:57 UTC (permalink / raw)
  To: Voicu, Cristiana; +Cc: bitbake-devel@lists.openembedded.org

On Fri, 2013-11-15 at 11:47 +0000, Voicu, Cristiana wrote:
> This was merged to master, and it should be merged to dora-toaster branch too.
> Can you please merge it?

Alex is going to put together a branch with the patches he wants merged
there. I'll wait for that and then merge it that way.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-15 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 14:50 [PATCH] toaster: convert build_package size to bytes to keep consistence Cristiana Voicu
2013-11-15 11:47 ` Voicu, Cristiana
2013-11-15 11:57   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.