https://github.com/bcomnes/raspi-packer
Build and bootstrap ARM images that are pre-configured and ready to flash!
https://github.com/bcomnes/raspi-packer
arm packer raspberry-pi
Last synced: 10 months ago
JSON representation
Build and bootstrap ARM images that are pre-configured and ready to flash!
- Host: GitHub
- URL: https://github.com/bcomnes/raspi-packer
- Owner: bcomnes
- Created: 2019-01-06T23:34:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-14T19:35:36.000Z (11 months ago)
- Last Synced: 2025-03-29T05:22:23.883Z (10 months ago)
- Topics: arm, packer, raspberry-pi
- Language: Shell
- Homepage:
- Size: 29.5 MB
- Stars: 22
- Watchers: 3
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# raspi-packer
[](https://github.com/bcomnes/raspi-packer/actions/workflows/build.yml)

Build various configurations of [Arch Linux Arm](https://archlinuxarm.org) in a GitHub action using [packer](https://www.packer.io) and [mkaczanowski/packer-builder-arm](https://github.com/mkaczanowski/packer-builder-arm) into an ISO that you can flash with [Raspberry Pi Imager](https://www.raspberrypi.com/software/).
Includes a [bootstrap](./boostrap.sh) script that lets you customize the image, and include first run utilities for resizing partitions or doing other first run activities.
## Why?
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).
## Instructions
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.
### Can I use it?
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.
## Screenshots


## See also
- https://disconnected.systems/blog/raspberry-pi-archlinuxarm-setup
- https://gist.github.com/larsch/4ae5499023a3c5e22552