make_mirror.sh: use $mirror when calling mmdebstrap instead of its default mirror

This commit is contained in:
Johannes 'josch' Schauer 2018-12-30 17:19:26 +01:00
parent 29550acb88
commit 5ac613983c
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -202,7 +202,7 @@ if [ "$HAVE_QEMU" = "yes" ]; then
tmpdir="$(mktemp -d)"
./mmdebstrap --variant=apt --architectures=amd64,armhf --mode=unshare \
--include=linux-image-amd64,systemd-sysv,perl,arch-test,fakechroot,fakeroot,mount,uidmap,proot,qemu-user-static,binfmt-support,qemu-user,dpkg-dev,mini-httpd,libdevel-cover-perl,debootstrap,libfakechroot:armhf,libfakeroot:armhf,procps \
unstable > "$tmpdir/debian-unstable.tar"
unstable - "$mirror" > "$tmpdir/debian-unstable.tar"
cat << END > "$tmpdir/extlinux.conf"
default linux