diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-12-02 18:58:45 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 17:45:54 +0000 |
| commit | 8a02406f1c1fa76bd43372a0f1936d0ebf71e668 (patch) | |
| tree | 51b0d643f8b6d0df57fcde4a4ad01fecbf7506d7 /bitbake/lib/bb/ui/buildinfohelper.py | |
| parent | d1e66643ae2e379f5e51ab9370ef8cb7e66dcb35 (diff) | |
| download | poky-8a02406f1c1fa76bd43372a0f1936d0ebf71e668.tar.gz | |
bitbake: lib/bb/ui: handle PKGSIZE change to bytes
PKGSIZE is now in bytes in pkgdata, so we need to treat it as such in
the UI code for Hob / Toaster.
(Bitbake rev: 3b5ff814cd4a3efa4b17c6b343ec39c9acca5c9e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
| -rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 2c9d77abb3..61149fafd7 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
| @@ -188,7 +188,7 @@ class ORMWrapper(object): | |||
| 188 | revision = package_info['PKGR'], | 188 | revision = package_info['PKGR'], |
| 189 | summary = package_info['SUMMARY'], | 189 | summary = package_info['SUMMARY'], |
| 190 | description = package_info['DESCRIPTION'], | 190 | description = package_info['DESCRIPTION'], |
| 191 | size = int(package_info['PKGSIZE']) * 1024, | 191 | size = int(package_info['PKGSIZE']), |
| 192 | section = package_info['SECTION'], | 192 | section = package_info['SECTION'], |
| 193 | license = package_info['LICENSE'], | 193 | license = package_info['LICENSE'], |
| 194 | ) | 194 | ) |
