make_mirror.sh: use CMD instead of ./mmdebstrap
This commit is contained in:
parent
c51c69ca13
commit
2df8581bf9
1 changed files with 3 additions and 1 deletions
|
@ -338,6 +338,8 @@ components=main
|
|||
: "${HAVE_QEMU:=yes}"
|
||||
: "${RUN_MA_SAME_TESTS:=yes}"
|
||||
: "${HAVE_PROOT:=yes}"
|
||||
# by default, use the mmdebstrap executable in the current directory
|
||||
: "${CMD:=./mmdebstrap}"
|
||||
|
||||
if [ -e "$oldmirrordir/dists/$DEFAULT_DIST/Release" ]; then
|
||||
http_code=$(curl --output /dev/null --silent --location --head --time-cond "$oldmirrordir/dists/$DEFAULT_DIST/Release" --write-out '%{http_code}' "$mirror/dists/$DEFAULT_DIST/Release")
|
||||
|
@ -446,7 +448,7 @@ if [ "$HAVE_QEMU" = "yes" ]; then
|
|||
else
|
||||
arches=$HOSTARCH
|
||||
fi
|
||||
./mmdebstrap --variant=apt --architectures=$arches --include="$pkgs" \
|
||||
$CMD --variant=apt --architectures=$arches --include="$pkgs" \
|
||||
$DEFAULT_DIST - "$mirror" > "$tmpdir/debian-chroot.tar"
|
||||
|
||||
cat << END > "$tmpdir/extlinux.conf"
|
||||
|
|
Loading…
Reference in a new issue