For now, keep using the UK one as default.
pacman -S --needed debootstrap schroot
fi
+# Debian mirror from where to download packages for the chroot
+CHROOT_DEBIAN_MIRROR=${CHROOT_DEBIAN_MIRROR:-http://ftp.uk.debian.org/debian}
+
# Install debian/buster chroot using debootstrap,
# any /etc/ config must be done after this point!
-/usr/sbin/debootstrap buster /opt/chroot/$chrootdir \
- http://ftp.uk.debian.org/debian
+/usr/sbin/debootstrap buster /opt/chroot/$chrootdir $CHROOT_DEBIAN_MIRROR
+
echo "$chrootdir" > /opt/chroot/$chrootdir/etc/debian_chroot
# make chroot profile