On Tue Feb 17, 2026 at 6:32 PM CET, Adrian Freihofer via lists.openembedded.org wrote: > From: Adrian Freihofer <[email protected]> > > Previously, the kernel recipe depended on the initramfs image even when > INITRAMFS_IMAGE_BUNDLE was not enabled. This caused the kernel to be > rebuilt whenever the initramfs image changed, regardless of whether the > kernel actually included the initramfs. > > The problematic chain was: > linux:do_deploy -> > linux:do_bundle_initramfs -> > image-initramfs:do_image_complete > > The original intent (acc. to the comment) was to ensure the initramfs > image was available for tools like wic. However, apart from bundling the > initramfs in the kernel, there is probably no reason why the kernel > should depend on the initramfs. And it is therefore simply wrong if it > does so anyway. Thus, use cases that may be broken by these change are > based on a bug, not a feature. This needs to be fixed by adding a > dependency on the initramfs in the right place, not in the kernel where > this destroys the kernel's sstate-caching. > > Signed-off-by: Adrian Freihofer <[email protected]> > ---
Hi Adrian, It looks like this is causing some build issues. I only saw them on ARM64 so far: ERROR: core-image-full-cmdline-1.0-r0 do_image_wic: Execution of '/srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/genericarm64-poky-linux/core-image-full-cmdline/1.0/temp/run.do_image_wic.2336354' failed with exit code 1 ... | INFO: Creating image(s)... ... | ERROR: _exec_cmd: cp -v -p /srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/deploy/images/genericarm64/core-image-initramfs-boot-genericarm64.cpio.gz /srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/work/genericarm64-poky-linux/core-image-full-cmdline/1.0/tmp-wic/hdd/boot returned '1' instead of 0 | output: cp: cannot stat '/srv/pokybuild/yocto-worker/genericarm64-alt/build/build/tmp/deploy/images/genericarm64/core-image-initramfs-boot-genericarm64.cpio.gz': No such file or directory | https://autobuilder.yoctoproject.org/valkyrie/#/builders/22/builds/3228 https://autobuilder.yoctoproject.org/valkyrie/#/builders/60/builds/3202 Can you have a look at what is going wrong? Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#231315): https://lists.openembedded.org/g/openembedded-core/message/231315 Mute This Topic: https://lists.openembedded.org/mt/117860606/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
