Bug 1000 - Control over when package init scripts are run
Summary: Control over when package init scripts are run
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-04-21 04:16 UTC by Gary Thomas
Modified: 2011-04-29 05:38 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
Update infrastructure to allow when postponed install scripts are run (5.68 KB, patch)
2011-04-21 04:17 UTC, Gary Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.