Burrow Raspberry Pi Image
export-image | ||
scripts | ||
stage0 | ||
stage1 | ||
stage2 | ||
stage3 | ||
stage4 | ||
.gitignore | ||
build.sh | ||
README.md |
#TODO
- NOOBS export
- Simplify running a single stage
- Documentation
#Dependencies
quilt kpartx realpath qemu-user-static debootstrap zerofree
Example build script:
#!/bin/bash -e
# Set build variables
USERNAME=pi
PASSWORD=raspberry
HOSTNAME=raspberrypi
IMAGENAME="raspbian-lite-$(date +%Y-%m-%d)"
# Build rootfs
sudo ./build.sh --username=${USERNAME} --password=${PASSWORD} --hostname=${HOSTNAME} --imagename=${IMAGENAME}
# Resulting images will be in deploy/