aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Wagner <mail@jwagner.eu>2016-03-01 01:24:44 +0100
committerJan Wagner <mail@jwagner.eu>2016-03-01 01:24:44 +0100
commit32f7bfc2223825ca3346026939faef49e85dae30 (patch)
tree962fdda0b8825de5f1278d770b3f0195fd7c10f5
parent18e5215871dd0e86adc7f34ad21044740d6f9645 (diff)
downloadrpi2-gen-image-32f7bfc2223825ca3346026939faef49e85dae30.tar.gz
rpi2-gen-image-32f7bfc2223825ca3346026939faef49e85dae30.tar.bz2
rpi2-gen-image-32f7bfc2223825ca3346026939faef49e85dae30.zip
proxy fix - that includes voltagex-proxy-syntax and #12
-rwxr-xr-xrpi2-gen-image.sh4
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