| Summary: | Invalid symbolic link kernel image in qemu rootfs | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Yi Zhao <yi.zhao> |
| Component: | linux-yocto | Assignee: | Darren Hart <dvhart> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | ke.zou, ning.zhang, Qi.Chen |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Yi Zhao
2013-08-07 09:24:29 UTC
Which images specifically? I just built core-image-minimal for qemux86 and the /boot directory in the ext2 image is empty. bah, apologies, was building poky-tiny on accident. This appears to be due to pkg_postinst_kernel-base making the alternatives link when it's kernel-image that installs the actual kernel image. Testing a correction. Patch submitted to OE-Core commit 7590f6926de6dcee05a5b71ef61b8a09972daac5 Author: Darren Hart <dvhart@linux.intel.com> Date: Fri Aug 9 10:58:42 2013 -0700 kernel.bbclass: Correct post(inst|rm) package association Fixes [YOCTO #4991] The kernel image is installed as part of the kernel-image package, but the symlink creation/removal via alternatives is being done in pkg_post(inst|rm)_kernel-base. Move the postinst alternatives logic into the kernel-image functions. (From OE-Core rev: 35f538b117e3387354d2dab1f22c3de28ab1322b) |