From 32f7bfc2223825ca3346026939faef49e85dae30 2016-03-01 00:24:44 From: Jan Wagner Date: 2016-03-01 00:24:44 Subject: [PATCH] proxy fix - that includes voltagex-proxy-syntax and #12 --- 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