diff options
-rwxr-xr-x | rpi2-gen-image.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpi2-gen-image.sh b/rpi2-gen-image.sh index c6bef8a..d38bcc7 100755 --- a/rpi2-gen-image.sh +++ b/rpi2-gen-image.sh @@ -182,9 +182,9 @@ fi # Base debootstrap (unpack only) if [ "$ENABLE_MINBASE" = true ] ; then - debootstrap --arch=armhf --variant=minbase --foreign --include=${APT_INCLUDES} $RELEASE $R ${APT_PROXY}${APT_SERVER}/debian + http_proxy=${APT_PROXY} debootstrap --arch=armhf --variant=minbase --foreign --include=${APT_INCLUDES} $RELEASE $R http://${APT_SERVER}/debian else - debootstrap --arch=armhf --foreign --include=${APT_INCLUDES} $RELEASE $R ${APT_PROXY}${APT_SERVER}/debian + http_proxy=${APT_PROXY} debootstrap --arch=armhf --foreign --include=${APT_INCLUDES} $RELEASE $R http://${APT_SERVER}/debian fi # Copy qemu emulator binary to chroot |