Bug 5877

Summary: installed_size field is always 0
Product: [Build System, Metadata & Runtime] Toaster Reporter: Andreea Brandusa Proca <andreea.b.proca>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandru.damian, belen.barros.pena, cristiana.voicu
Version: 1.6   
Target Milestone: 1.6 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.