Bug 5877 - installed_size field is always 0
Summary: installed_size field is always 0
Status: VERIFIED WORKSFORME
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.6 M4
Assignee: Alexandru Damian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-02-25 13:01 UTC by Andreea Brandusa Proca
Modified: 2014-03-20 08:31 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreea Brandusa Proca 2014-02-25 13:01:13 UTC
"installed_size" field from orm.package has always the value 0
Comment 1 Belen Barros Pena 2014-02-28 11:51:25 UTC
We are not sure why we need this, unless package sizes can change between build and installed.
Comment 2 Belen Barros Pena 2014-03-13 13:36:56 UTC
So installed_size is the size of a package when installed. It is only collected for installed packages. If the package is not installed, installed_size is 0.

installed_size seems to be collected in master:463cd34f8c17c67c4f3adf3468424730b22f3974 

Andreea, could you verify when you have a chance?
Comment 3 Andreea Brandusa Proca 2014-03-20 08:31:27 UTC
I have verified it in master:ac4ff568f5b2ad4f50a1b7b60797e7b797c314bb and is collected for the situation described by Belen.