Burrow Raspberry Pi Image
Go to file
2016-05-05 15:32:31 -07:00
export-image Rework 2016-05-05 21:21:42 +01:00
images Fixed git ignore 2016-05-05 15:09:06 -07:00
scripts Merged updates from upstream 2016-05-05 15:32:31 -07:00
stage0 Whitespace fix 2016-05-05 15:09:35 -07:00
stage1 Fixed issue with ordering of patch step vs install step where patches got applied to files that hadn't been installed yet 2016-05-05 15:11:33 -07:00
stage2 Merged updates from upstream 2016-05-05 15:32:31 -07:00
stage4 Merged updates from upstream 2016-05-05 15:32:31 -07:00
.gitignore Merged updates from upstream 2016-05-05 15:32:31 -07:00
build.sh Merged updates from upstream 2016-05-05 15:32:31 -07:00
create-image.sh Added new options to create-image script 2016-05-05 15:08:30 -07:00
mod_scripts.sh Added script for making .sh files executable 2016-05-05 15:08:58 -07:00
README.md Updated readme 2016-05-05 15:19:28 -07:00

#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)"
STAGE=2

# Build rootfs
sudo ./build.sh --username=${USERNAME} --password=${PASSWORD} --hostname=${HOSTNAME} --imagename=${IMAGENAME}

# Create .img
sudo ./create-image.sh --imagename=${IMAGENAME} --stage=${STAGE}

# Resulting image will be at images/${IMAGENAME}