Pi Image Build Automation
The unattended bootstrap half of the imaging pipeline. It picks itself back up after every reboot.
- 01Repo staging
- 02Reboot survival
- 03Handoff
Architecture Overview
The bootstrap half of the imaging pipeline. It takes a plain Ubuntu Pi and gets it to the point where the image builder can take over, entirely on its own. That is the clever part, because the process spans several reboots.
How it works
Core mechanics, failure recovery paths, and system design decisions.
Repo staging
Clones the build repo onto an attached external disk rather than the SD card, which keeps the card pristine for imaging.
Reboot survival
Installs a login hook so the build picks up again after a reboot. That hook is what makes the run genuinely unattended.
Handoff
Hands over to the main image-builder orchestrator once the machine is in a known state.
Engineering Highlights
- •Carries straight through the reboots a Pi provisioning run needs
- •Build artifacts stay off the card being imaged
- •Clean handoff to the image builder
- •Integrated as the automation/ unattended bootstrap engine in the unified pi-image-tools suite