Are there any ways to speed up the image creation process? #566
Replies: 4 comments 2 replies
-
|
Any solutions for this? Seems to be a classical problem consume hours for build which buildroot/yocto have thread sync to increase build fast. |
Beta Was this translation helpful? Give feedback.
-
|
You can create a tarball with the rootfs and then reuse this in another recipe with the changes. We do this for our multi stage images which all are built on top of the lower image (eg one default which is based on lite which is based on minimal). This also helps with kinda reproducible builds |
Beta Was this translation helpful? Give feedback.
-
|
Do the same, as of now. Problem is if 5 tar's before image. for new build if there is any change in tar-0 then it need to build entire debos from beginning. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, the way around this is to build a recipe in multiple stages and generate tarballs from each stage. In most cases it should be quite quick to rebuild a recipe. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using debos to create a Debian-based image for custom hardware. I need to frequently modify the Linux kernel, build it, and then use debos to create the final image. The problem is that even though I make a tiny change in the kernel, the whole Debian image is recreated from the ground up. Is it possible to speed things up in debos?
Beta Was this translation helpful? Give feedback.
All reactions