|
|
|
@ -417,6 +417,8 @@ security_mirror="http://security.debian.org/debian-security"
|
|
|
|
|
components=main
|
|
|
|
|
|
|
|
|
|
: "${DEFAULT_DIST:=unstable}"
|
|
|
|
|
: "${ONLY_DEFAULT_DIST:=no}"
|
|
|
|
|
: "${ONLY_HOSTARCH:=no}"
|
|
|
|
|
: "${HAVE_QEMU:=yes}"
|
|
|
|
|
: "${RUN_MA_SAME_TESTS:=yes}"
|
|
|
|
|
# by default, use the mmdebstrap executable in the current directory
|
|
|
|
@ -451,6 +453,13 @@ for nativearch in $arches; do
|
|
|
|
|
if [ "$nativearch" != "$HOSTARCH" ] && [ "$DEFAULT_DIST" != "$dist" ]; then
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
# if ONLY_DEFAULT_DIST is set, only download DEFAULT_DIST
|
|
|
|
|
if [ "$ONLY_DEFAULT_DIST" = "yes" ] && [ "$DEFAULT_DIST" != "$dist" ]; then
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
if [ "$ONLY_HOSTARCH" = "yes" ] && [ "$nativearch" != "$HOSTARCH" ]; then
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
# we need a first pass without updates and security patches
|
|
|
|
|
# because otherwise, old package versions needed by
|
|
|
|
|
# debootstrap will not get included
|
|
|
|
|