From 32f7bfc2223825ca3346026939faef49e85dae30 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Tue, 1 Mar 2016 01:24:44 +0100 Subject: proxy fix - that includes voltagex-proxy-syntax and #12 --- rpi2-gen-image.sh | 4 ++-- 1 file 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 -- cgit v1.2.3