TEST
Build various configurations of Arch Linux Arm in a GitHub action using packer and mkaczanowski/packer-builder-arm into an ISO that you can flash with Raspberry Pi Imager.
Includes a bootstrap script that lets you customize the image, and include first run utilities for resizing partitions or doing other first run activities.
Bootstrapping arch arm is non-trivial and tedious. This lets you automate away the most tedious portions of the process. Its still slow but once its working can save a lot of time (like all automation).
Push changes to the repo, and images are built on the push event. If the build succeeds, you can find the images as artifacts located on the action run.
- hosts: this folder has various packer entry points for various hosts builds. Overlays over the packer.json file settings.
- bootstrap.sh: The script that runs to build the image
- packer.json: The base packer configuration.
Anyone can use this, though the customizations are pretty specific for my own use case. You are better off forking the repo and making whatever modifications you want to your own build pipeline.