| Summary: | Missing dependency for kernel-image-* package | ||
|---|---|---|---|
| Product: | [Runtime] Package Management Issues | Reporter: | David Nyström <david.nystrom> |
| Component: | package-management-issues | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | david.nystrom, dvhart, poky.bs.watcher, poky.watcher, sgw |
| Version: | unspecified | ||
| Target Milestone: | 1.5.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
David Nyström
2013-10-28 12:10:03 UTC
Darren, it looks like you moved the postinstall scripts from kernel-base to kernel-image in the following commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7590f6926de6dcee05a5b71ef61b8a09972daac5 Files required by depmod however remain in kernel-base. Should we simply add a dependency from kernel-image on kernel-base? (Note: since the aforementioned fix was backported to dylan, this also affects that branch as well). Well now, talk about a crappy commit message and poor description in the previous bug. Bad Darren. It looks as though our kernel-* packaging breakdown doesn't really match what's needed in practice and we're seeing the fallout of that. This is not something I've examined carefully myself. It looks like this needs a careful audit and update... all the way back to dylan. We can't add the RDEPENDS as there is a default RDEPENDS in the opposite direction in kernel.bbclass, so we'd end up with a circular dependency by default. Nasty. It is possible we could just move some of the post-inst back, keeping it split across kernel-image and kernel-base. Something like this is probably the best approach for the 1.6 time frame. I'll open another bug for a serious revamp/refactoring of kernel.bbclass for the 1.7 cycle. Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9ce1f7d522aac19e0f88ae4f4066aee89c2ac678 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=004f9be18abc89e6262318a39d2fae5beb854656 I've also backported and sent the patch for the dora branch, just waiting for it to be merged. In master there was a follow-up fix for this to avoid signature corruption as a result of the fix for this bug when testimage.bbclass is in use: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b8584fe5c68c004c5e53e5f0a559886adac386ae The bug is now fixed in dora as well: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&id=337de046c8144b2fbcd7799a11828dc3eb34b839 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&id=b96f0217e408700e4b0ce270d3b0322b5d5a9863 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&id=e5cb267922d146ab1972de7c183982c7cc312e46 Marking as resolved. At this time I think I won't backport this to dylan unless someone requests it - please do so if you need it. |