| Summary: | When using systemd, rpm postinstall scripts are not run on the target | ||
|---|---|---|---|
| Product: | [Runtime] Package Management Issues | Reporter: | Saul Wold <sgw> |
| Component: | RPM | Assignee: | Markus Lehtonen <markus.lehtonen> |
| Status: | VERIFIED WORKSFORME | QA Contact: | Alexandru Georgescu <alexandru.c.georgescu> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, randy.macleod, ross.burton |
| Version: | 1.8 | ||
| Target Milestone: | 2.0 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Saul Wold
2015-01-20 16:29:59 UTC
*Definitely* need something in oe-selftest for this. I was not able to reproduce this. I used openembedded-core, core-image-minimal with the following lines added to local.conf: IMAGE_FEATURES_append = " package-management" DISTRO_FEATURES_append = " systemd" VIRTUAL-RUNTIME_init_manager = "systemd" DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" I also tried without the two latter lines. IIRC, in the usual case there are no postinst scripts that need to be deferred. Pick a random postinst (or write a new recipe) and have it just echo something and exit 1, that should make it run on first boot. That's exactly what I did. Awesome. Closing then. verified as per above comments. |