doragasu Posted 6 hours ago Posted 6 hours ago I am building a custom image for rpi4b and everything works great so far. I only want to customize the installed packets and configuration, but I do not need a custom kernel. Since building the kernel is what takes by a wide margin most of the image generation time, I was wondering if there's a way to build the image without building the kernel (using the one from the official builds). I have browsed the documentation and found no way, so maybe it is not supported and building the kernel is mandatory? 0 Quote
Solution Werner Posted 3 hours ago Solution Posted 3 hours ago If a kernel package exists as artifact in oci cache it will be downloaded and used. Only if there is no artifact it will be built from scratch. After a new kernel version is released it may take a few days until oci catches up. However once locally built it will also be cached locally so it will be re-used if you start another build. 0 Quote
doragasu Posted 1 hour ago Author Posted 1 hour ago Yeah, I noticed it was not rebuilt on the next calls to compile.sh. Might not solve the problem for CI/CD environments, but for development it should work. Thanks! 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.