| Summary: | no postinst is invoked at the 1st boot of target image | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Kevin Tian <kevin.tian> |
| Component: | meta-yocto | Assignee: | Kevin Tian <kevin.tian> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | josh, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
Kevin Tian
2010-08-25 20:24:26 UTC
I've sent out a pull request for this bug. Tested on x86 and arm target. 22db36b5dfbd3002d990d512ea33fd3359ef1d94 in http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tk/master Thanks Kevin, I merged your fix and also an extra one for meta-toolchain. 8ea7fa6d4c7734da6034d44f8b6d78d2993f1949 opkg: finalize the change to var directory commit 1d0757f16beb31551733d9d755d72337ccda9642 changes opkg run state from /usr/lib/opkg to /var/lib/opkg, which however is incomplete and still many important information is kept under old directory including postinst methods. This makes latest boot into a mess. So finalize this movement to /var here. Fix [BUGID #229] e10703aa5b008e5bd4ba00606e633281759496fe meta-toolchain: update to reflect opkg state directory move thanks Josh. I didn't note meta-toolchain. :-) I have verified this bug is fixed now, by checking the boot message of target message. Now postinst methods are indeed invoked. |