summaryrefslogtreecommitdiff
path: root/stage0/prerun.sh
blob: c625b0e6f709c4e7e3aba04988d9d155c9ae0fed (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -e

if [ "$RELEASE" != "trixie" ]; then
	echo "WARNING: RELEASE does not match the intended option for this branch."
	echo "         Please check the relevant README.md section."
fi

if [ ! -d "${ROOTFS_DIR}" ]; then
	bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.com/raspbian/
fi