Burrow Raspberry Pi Image
Go to file
2016-05-05 15:22:10 -07:00
images Fixed git ignore 2016-05-05 15:09:06 -07:00
scripts Added alternate chroot function that uses systemd-nspawn instead of chroot, for host systems that use systemd. Haven't tested yet. 2016-05-02 12:16:03 -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 Broke up packages over multiple lines for readability 2016-05-05 15:11:58 -07:00
.gitignore Added vscode to gitignore 2016-05-03 12:52:03 -07:00
build.sh Added new build options for the build.sh script 2016-05-05 15:08:10 -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}