Bug 5932

Summary: package installed list incomplete, includes only built items not cached ones
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED NOTABUG QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu, jessica.zhang, stanciux.mihail
Version: 1.6   
Target Milestone: 1.6 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description David Reyna 2014-03-08 03:51:30 UTC
The "Packages Included" table for each target would seem to supposed to be all of the packages that make up the respective image, but it seems rather to be the included packages _that_were_built_ this exact time, in other words the list is missing the cached packages.

Alex writes: "If this happens, this is a bug. Packages Included needs to contain all packages that are in the image, regardless of when the packages were built."
Comment 1 David Reyna 2014-03-08 04:06:37 UTC
Belen writes: "This is a bit worrying, so I ran a quick test: I rebuilt core-image-minimal with a populated sstate-cache directory (no tasks were executed) and checked the list of packages in the orm_target_installed_package table against the package manifest file. Both contain 29 packages. So it seems to me that the list of packages installed is being populated correctly".

David writes: "There may not be an actual defect here. It may just be the unexpected small number of packages that are needed to assemble a core-image-minimal system."
Comment 2 Alexandru Damian 2014-03-17 11:26:05 UTC
This is normal, the core-image-minimal has just 29 packages.
Comment 3 Mihail Stanciu 2014-08-11 10:52:53 UTC
Verified.