aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.d/10-bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.d/10-bootstrap.sh')
-rw-r--r--bootstrap.d/10-bootstrap.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/bootstrap.d/10-bootstrap.sh b/bootstrap.d/10-bootstrap.sh
index 8a142eb..f4a57cc 100644
--- a/bootstrap.d/10-bootstrap.sh
+++ b/bootstrap.d/10-bootstrap.sh
@@ -7,22 +7,22 @@
# Base debootstrap (unpack only)
if [ "$ENABLE_MINBASE" = true ] ; then
- http_proxy=${APT_PROXY} debootstrap --arch=${RELEASE_ARCH} --variant=minbase --foreign --include=${APT_INCLUDES} ${RELEASE} $R http://${APT_SERVER}/debian
+ http_proxy=${APT_PROXY} debootstrap --arch="${RELEASE_ARCH}" --variant=minbase --foreign --include="${APT_INCLUDES}" "${RELEASE}" "$R" "http://${APT_SERVER}/debian"
else
- http_proxy=${APT_PROXY} debootstrap --arch=${RELEASE_ARCH} --foreign --include=${APT_INCLUDES} ${RELEASE} $R http://${APT_SERVER}/debian
+ http_proxy=${APT_PROXY} debootstrap --arch="${RELEASE_ARCH}" --foreign --include="${APT_INCLUDES}" "${RELEASE}" "$R" "http://${APT_SERVER}/debian"
fi
# Copy qemu emulator binary to chroot
-cp ${QEMU_BINARY} $R/usr/bin
+cp "${QEMU_BINARY}" "$R/usr/bin"
# Copy debian-archive-keyring.pgp
-mkdir -p $R/usr/share/keyrings
-cp /usr/share/keyrings/debian-archive-keyring.gpg $R/usr/share/keyrings/debian-archive-keyring.gpg
+mkdir -p "$R/usr/share/keyrings"
+cp /usr/share/keyrings/debian-archive-keyring.gpg "$R/usr/share/keyrings/debian-archive-keyring.gpg"
# Complete the bootstrapping process
chroot_exec /debootstrap/debootstrap --second-stage
# Mount required filesystems
-mount -t proc none $R/proc
-mount -t sysfs none $R/sys
-mount --bind /dev/pts $R/dev/pts
+mount -t proc none "$R/proc"
+mount -t sysfs none "$R/sys"
+mount --bind /dev/pts "$R/dev/pts"