Open Mearman opened 2 months ago
Just found the appropriate section in the readme. Though an example would be useful
Thanks for reaching out.
Fully agree, this requires some in-depth understanding of pi-gen's internals and could be made easier for beginners.
Would you like to contribute a suggestion in a PR?
I'm still fumbling through myself, but I'm getting somewhere. Though do you know what paths I'd need to cache to speed up the pipelines?
pi-gen is by design incremental. Each stage builds upon the previous and you just tell it at which point to export the snapshot to an image.
Caching of the working directory does make sense for repeated development runs of the action, I'm passively working on a feature to introduce that in #106.
But if you want to export multiple images with the same content incrementally adding other components, it's really just one plain pi-gen run you need.
Did you figure out everything to get your build goinf, @Mearman? Is there anything missing the documentation or something you'd suggest to improve?
Thank you for such a helpful action!
I'm building an image that just adds one main package (and its dependencies) and then the package's config, as well as updating
/boot/firmware/config.txt
.I would like to export the
Lite
andFull
images, but I'm not sure what the best approach is without repeating the whole job.Is there a better way to do it than something like the following: