Bug 1000

Summary: Control over when package init scripts are run
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Gary Thomas <gary>
Component: meta-yoctoAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
Update infrastructure to allow when postponed install scripts are run none

Description Gary Thomas 2011-04-21 04:16:21 UTC
When a package is built, some installation scripts must be
performed on the target.  In the case of a complete image,
these scripts are run by a separate step at init time, but
only during the first boot (other package install scripts
can just be run when the package is installed on the target).

The attached patch lets the distribution (or user) decide when these
postponed install scripts should run.  The default is normally
near the end of init, but there may be times when it's beneficial
to run them earlier so the "when" can be overridden.
Comment 1 Gary Thomas 2011-04-21 04:17:33 UTC
Created attachment 139 [details]
Update infrastructure to allow when postponed install scripts are run
Comment 3 Gary Thomas 2011-04-29 05:38:37 UTC
Verified working for OPKG based system.  RPM based untested.