Updated readme

pull/5/head
Charles Cross 2016-05-05 15:19:28 -07:00
parent 889ee2728d
commit f2f7128cd6
1 changed files with 23 additions and 8 deletions

View File

@ -1,14 +1,29 @@
#TODO
1. Image export
1. NOOBS export
1. Simplify running a single stage
1. Documentation
- NOOBS export
- Simplify running a single stage
- Documentation
#Dependencies
`quilt kpartx realpath qemu-user-static debootstrap zerofree`
# Example usage to build a bootable raspbian lite image:
sudo ./build.sh
sudo ./create-image.sh --path=./work/2016-05-02-raspbian/stage3 --name="raspbian-lite"
# Example build script:
```bash
#!/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}
```