-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example for exporting multiple image stages #123
Comments
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? |
Closing for now due to lack of feedback. Feel free to reopen. |
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:
The text was updated successfully, but these errors were encountered: