| Summary: | Sometimes wrong kernel selected on QEmu when bundling an InitRamFS | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | pasweistorz <Pascal.Weisser.ext> |
| Component: | core | Assignee: | pasweistorz <Pascal.Weisser.ext> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, Pascal.Weisser.ext, randy.macleod |
| Version: | 5.0 | ||
| Target Milestone: | 5.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
pasweistorz
2024-06-21 08:48:02 UTC
You are on the right track with adding the missing dependencies variables. Can you continue with that and send a patch to the email list or ask for help there if you get stuck? I've submitted a patch today to the openembedded-core@lists.openembedded.org mailing list. Bulk move of 5.1 bugs to 5.2. -- YP bug review (Randy) ❯ git show 2e9e8f6fb3 commit 2e9e8f6fb3415f9aac6b5f96e8e7c8d9ced5beb5 Author: Weisser, Pascal.ext <Pascal.Weisser.ext@karlstorz.com> Date: Wed Jul 3 06:56:03 2024 qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath The qemuboot.conf file contains the realpath of the kernel image referenced by QB_DEFAULT_KERNEL. So, it must be recreated in case the realpath of the referenced kernel image changes. The variables KERNEL_IMAGE_NAME and KERNEL_IMAGE_BIN_EXT determine the realpath of the kernel image relative to DEPLOY_DIR_IMAGE. Adding both of them to the vardeps of the write_qemuboot_conf task triggers the write_qemuboot_conf task in case the realpath of the kernel image referenced by QB_DEFAULT_KERNEL changes. Fixes: [YOCTO 15525] (From OE-Core rev: f8b3975a9ce36ea7af5fd76243a823da2842415b) |