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

if [ "$RELEASE" != "bookworm" ]; 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