aboutsummaryrefslogtreecommitdiffstats
path: root/stage0
diff options
context:
space:
mode:
authorHolger Pandel <[email protected]>2021-02-10 11:37:15 +0100
committerGitHub <[email protected]>2021-02-10 10:37:15 +0000
commitbf8c9f53833016e1b9410d2eb3ed0149390975a7 (patch)
tree6ce3a082917e007cf295730bdf7a796480120197 /stage0
parent21090519d85bdaa1615d5d5057d37b09368ea5d2 (diff)
Add QCOW2 build mechanism (#349)
Diffstat (limited to 'stage0')
-rwxr-xr-xstage0/prerun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage0/prerun.sh b/stage0/prerun.sh
index 3b25783..d4dd0a1 100755
--- a/stage0/prerun.sh
+++ b/stage0/prerun.sh
@@ -1,5 +1,5 @@
#!/bin/bash -e
-if [ ! -d "${ROOTFS_DIR}" ]; then
+if [ ! -d "${ROOTFS_DIR}" ] || [ "${USE_QCOW2}" = "1" ]; then
bootstrap ${RELEASE} "${ROOTFS_DIR}" http://raspbian.raspberrypi.org/raspbian/
fi