diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-28 02:36:41 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-28 11:49:28 +0000 |
| commit | ad63ebe65234e4755a152ec5c2d5cf4719847d84 (patch) | |
| tree | 727fb50734558066cf1f22579f3486144e747d78 /docs | |
| parent | 052241689a0c419d13e15e83e7ad65dd16fc8ffd (diff) | |
| download | meta-virtualization-ad63ebe65234e4755a152ec5c2d5cf4719847d84.tar.gz | |
vcontainer-initramfs-create: fix kernel deploy dependency via do_build
On sstate-accelerated builds, the kernel binary (bzImage/Image) was
missing from MC_DEPLOY because do_compile depended on the image
recipes' do_image_complete, which runs before do_build. The kernel
deploy dependency (virtual/kernel:do_deploy) is attached to do_build
in image.bbclass, so depending on do_image_complete cut the chain
short and virtual/kernel:do_deploy was never guaranteed to have run.
Fix by depending on do_build instead of do_image_complete. The image
artifacts (cpio.gz, squashfs) are already in DEPLOY_DIR_IMAGE after
do_image_complete, so they remain available. do_build additionally
ensures virtual/kernel:do_deploy has completed, placing the kernel
in MC_DEPLOY for our do_compile to copy.
This avoids adding an explicit virtual/kernel:do_deploy dependency
which would couple this recipe to the kernel and prevent use cases
where the kernel is provided externally.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
