diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-14 00:13:26 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-14 00:13:26 +0000 |
| commit | 43fd5f4d512e5950ec63780214f66a835ffd1294 (patch) | |
| tree | 25b4a6e079c501c60be2ce6da36a426eb3ccf011 /scripts/data | |
| parent | b9b7e17eae46c6e3e561f3675870be94eea69332 (diff) | |
| download | meta-virtualization-43fd5f4d512e5950ec63780214f66a835ffd1294.tar.gz | |
vcontainer-initramfs-create: fix kernel path for multiconfig builds
The kernel was copied from DEPLOY_DIR_IMAGE which resolves to the main
build config's deploy directory — not the multiconfig's. On autobuilder
setups with sstate, this caused the kernel to be missing from the vdkr
blob directory because:
1. The mcdepends (mc:<mc>::virtual/kernel:do_deploy) depended on the
main config's kernel, which may be a different architecture
2. DEPLOY_DIR_IMAGE pointed to the main deploy dir, not the
multiconfig's tmp-vruntime-<arch>/deploy/images/<machine>/
Fix by using MC_DEPLOY (the multiconfig's deploy directory) for the
kernel path, consistent with how initramfs and rootfs are already
copied. Remove the cross-multiconfig mcdepends since the kernel is
built as a transitive dependency of the rootfs image within the same
multiconfig.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts/data')
0 files changed, 0 insertions, 0 deletions
