m-a-b-q: support passing args to mmdebstrap

This commit is contained in:
Jochen Sprickerhof 2024-12-09 17:49:47 +01:00 committed by Johannes Schauer Marin Rodrigues
parent cf2b178f99
commit 6e75f85588
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -222,6 +222,10 @@ while test "$#" -gt 0; do
--efi)
opt_boot efi
;;
--)
shift
break
;;
--*)
usage_error "unrecognized argument $1"
;;
@ -324,7 +328,8 @@ set -- \
--mode=unshare \
--format=tar \
--variant=important \
--architecture="$ARCHITECTURE"
--architecture="$ARCHITECTURE" \
"$@"
case $MIRROR in http://snapshot.debian.org/archive/* | https://snapshot.debian.org/archive/*)
set -- "$@" --aptopt='Acquire::Check-Valid-Until "false"'