Hello, I have been looking into improving the build time of my yocto build and following some of the recommendations regarding debugging long build times, I have traced the issue back to dynamic data in my rootfs which causes misses in the sstate cache. I believe the dynamic data causes the following rebuild chain: do_rootfs -> kernel do_compile -> do_bundle_initramfs.
I understand why do_rootfs/do_bundle_initramfs must be rerun but in this particular case there shouldn't be a need to recompile the kernel. As far as I can tell, this is only happening because the final initramfs (which needs rebuilt) and the bzImage are part of the same sstate artifact (which is invalidated as a result of the dynamic data in the rootfs). I'm wondering if there is an opportunity to improve this and keep the kernel from recompiling each time only the rootfs changes. Unfortunately the dynamic data in the rootfs is a hard requirement for me and cannot be removed. Thanks, Ernast
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63920): https://lists.yoctoproject.org/g/yocto/message/63920 Mute This Topic: https://lists.yoctoproject.org/mt/108758712/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-