aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/create-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh
index 2d33f8b81..9e4fe95bb 100755
--- a/tools/create-image.sh
+++ b/tools/create-image.sh
@@ -144,7 +144,7 @@ fi
if [ $DEBARCH == "riscv64" ]; then
DEBOOTSTRAP_PARAMS="--keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg --exclude firmware-atheros $DEBOOTSTRAP_PARAMS http://deb.debian.org/debian-ports"
fi
-sudo debootstrap $DEBOOTSTRAP_PARAMS
+sudo --preserve-env=http_proxy,https_proxy,ftp_proxy,no_proxy debootstrap $DEBOOTSTRAP_PARAMS
# 2. debootstrap stage: only necessary if target != host architecture