Bug 2349

Summary: Fix rpm-based image generation to enforce sensible package install ordering
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Scott Garman <scott.a.garman>
Component: meta-yoctoAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: 1.3   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Scott Garman 2012-04-19 18:11:16 UTC
This bug is to track the need to refactor package_rpm.bbclass or fix rpm's inability to install packages in a predictable order. 

The problem is our image generation process is entirely package-based, and we need to ensure that, for example, base-passwd and shadow are installed before any packages that need to create custom users/groups.

Likewise, postinst scripts should be able to assume that the RDEPENDS for this package have already been installed before they run (currently this is not the case - qemugl's postinst script had to be converted to a first-boot script for this reason).
Comment 1 Mark Hatle 2013-02-22 20:02:44 UTC
I think this has been done via a number of patches to help control scriptlet dependencies, smart integration and related.