diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2022-11-08 11:28:18 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2022-11-08 11:29:37 +0000 |
| commit | 549681f6e217d6e713afb943d571afda83542a2f (patch) | |
| tree | 03f19b54d6be645613386bf79a7eedcd9d841c2c /stage0 | |
| parent | 47e34efb89fb76178d0b7f8690d1b24a222c077b (diff) | |
Updates to avoid common pitfalls when changing the RELEASE variable
Fixes #635, fixes #645, fixes #632
Diffstat (limited to 'stage0')
| -rwxr-xr-x | stage0/prerun.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stage0/prerun.sh b/stage0/prerun.sh index d4dd0a1..024d369 100755 --- a/stage0/prerun.sh +++ b/stage0/prerun.sh @@ -1,5 +1,10 @@ #!/bin/bash -e +if [ "$RELEASE" != "bullseye" ]; 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}" ] || [ "${USE_QCOW2}" = "1" ]; then bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.org/raspbian/ fi |
