| Summary: | wic: Allow to use custom bootloader configuration | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Mariano Lopez <mariano.lopez> |
| Component: | deployment | Assignee: | Mariano Lopez <mariano.lopez> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | eduard.bartosh, richard.purdie |
| Version: | 2.0 | ||
| Target Milestone: | 2.1 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Mariano Lopez
2015-11-26 00:52:51 UTC
I'd like to propose alternative solution for this problem - to prepare boot rootfs by bitbake and use wic source plugin to convert it into the partition. you can see similar example in meta-selftest/recipes-test/images/wic-image-minimal.wks This way bootloader configuration of any complexity could be handled easily. There is one limitation of this approach - it works only with EFI booting. I hope it's not your case though. For EFI is a good option to use a recipe to create the boot partition, however the requirements here is to have something that can also work with MBR. Hence the bug. I sent the patches to the ML. http://lists.openembedded.org/pipermail/openembedded-core/2015-December/113581.html This bug has been solved by commits: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9773faadfeee0e64fc405e0192f32aa8eca95a76 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f95f729518296177a6280a6e19a0c1433d499710 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=70338732ac7d6cf8a012e6861c316bcbd66e1328 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c59dc3bae09ccb3749539dd5f1ddc12e26591523 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8612f260048fe53f46149708baa6bd1985a4eb9f http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d7baeb5fad2630986556d4af38a2e2c67f7250c2 |