| Summary: | The EFI bootloaders should deploy startup.nsh for wic | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Christopher Larson <kergoth> |
| Component: | core | Assignee: | Christopher Larson <kergoth> |
| Status: | RESOLVED FIXED | QA Contact: | David Rodriguez <david.israelx.rodriguez.castellanos> |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | eduard.bartosh, jose.perez.carranza, meta.mr.watcher, meta.watcher |
| Version: | unspecified | ||
| Target Milestone: | 2.2 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Christopher Larson
2016-04-28 16:25:36 UTC
Initially, I had thought to do this in the recipes, but bootimg-efi doesn't pull IMAGE_BOOT_FILES from DEPLOY_DIR_IMAGE, it pulls from HDDDIR, so the bbclasses will have to do it instead. IMO we should divorce bootimg-efi from image-live/bootimg entirely and have it just pull from DEPLOY_DIR_IMAGE. It already duplicates the bootloader config file generation, so it should just do the rest as well, but we can improve that as a subsequent task. For now I'm altering the grub-efi and gummiboot classes to write startup.nsh to hdddir for non-iso for wic to use, and patching bootimg-efi to grab it if it's available. Sent to the oe-core list for review. Merged to oe-core: - https://github.com/openembedded/openembedded-core/commit/ec8dc34f974ddda420bddbd195fb344e3db46cab - https://github.com/openembedded/openembedded-core/commit/43ca968c5af129a990625923bc28131b8701386d - https://github.com/openembedded/openembedded-core/commit/aa215c12d729c001ad3b8b98a7e203a9ad192211 |