pi-gen: Stage Specification

In the GitHub page for pi-gen, there is a section on Stage Specification. However the example there is a little misleading. I wanted to run until stage3 and export an image from that stage, but because the example showed only touching the SKIP files, I did not realised that the EXPORT_IMAGE file is what the export script was looking for (until I read the export script….).

So basically in a nutshell:

  • SKIP files will only instruct pi-gen which stages to skip, nothing to do with any image export
  • EXPORT_IMAGE is required in the folder for which the stage you want an image to be exported.

The image suffix can be configured, just put a one-line IMG_SUFFIX="-my-own-image" in the EXPORT_IMAGE file at the appropriate stage folder.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s