| Summary: | Image install fails when appending piglit because it adds to initramfs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Alexandru Palalau <alexandrux.palalau> | ||||
| Component: | core | Assignee: | Saul Wold <sgw> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, richard.purdie, ross.burton, sgw, srifenbark | ||||
| Version: | 1.6 | ||||||
| Target Milestone: | 1.6 | ||||||
| Hardware: | NUC | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | 07 March 2014 - I need some information for the doc part. | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Yes (doc changes required) | |||||
| Attachments: |
|
||||||
|
Description
Alexandru Palalau
2014-02-05 13:31:56 UTC
Created attachment 1759 [details]
pn-buildlist files
The pn-buildlist files are from both scenarios(with/without piglit appended) to a sato-sdk image for nuc
The package list is identical, so there must be a difference in the rootfs. Please use CORE_IMAGE_EXTRA_INSTALL instead of IMAGE_INSTALL That worked fine although it's just a workaround. Thanks You point out an interesting issue with the usage of IMAGE_INSTALL to generally add things to the image vs using CORE_IMAGE_EXTRA_INSTALL. Since you don't like CORE_IMAGE_EXTRA_INSTALL and since adding a package to IMAGE_INSTALL affects both the image you are building and the initramfs image, another option is to add an explict IMAGE_INSTALL_append_pn-<image name> = " <package names>"to your local.conf this will cause that set of packages in <package names> to only be installed in that particular image that you define in <image name>. The other option is we change IMAGE_INSTALL's meaning somehow for the initramfs image specificly so that it can not be appended to, but I don't think that's the right solution either. I could successfully install the image after the mentioned commit. Somehow I changed the status. Changing it back to Resolved/Fixed Setting to Verified as per Comment #7 Sorry for the missunderstanding Hi, For the documentation component for this fixed bug, it seems like I need to expand on the definitions of IMAGE_INSTALL and CORE_IMAGE_EXTRA_INSTALL, both of which we have in our glossary (http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-IMAGE_INSTALL and http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#var-CORE_IMAGE_EXTRA_INSTALL. Would providing the general information that Saul points out in Comment 5 cover this well enough? Thanks, Scott |