summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/bootstrap_debootstrap2
-rwxr-xr-xscripts/build/config4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index e0278844c..52fdfdee4 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -86,7 +86,7 @@ then
Print_breakage
Echo_message "Running debootstrap (download-only)..."
- debootstrap ${DEBOOTSTRAP_OPTIONS} --download-only "${LB_PARENT_DISTRIBUTION_CHROOT}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}" ${DEBOOTSTRAP_SCRIPT}
+ /usr/bin/env http_proxy="${LB_APT_HTTP_PROXY}" ftp_proxy="${LB_APT_FTP_PROXY}" debootstrap ${DEBOOTSTRAP_OPTIONS} --download-only "${LB_PARENT_DISTRIBUTION_CHROOT}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}" ${DEBOOTSTRAP_SCRIPT}
# Removing old cache
rm -f cache/packages.bootstrap/*.deb
diff --git a/scripts/build/config b/scripts/build/config
index a5e578c3e..59fcf1f3f 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -963,10 +963,10 @@ LB_CONFIGURATION_VERSION="${LB_CONFIGURATION_VERSION}"
# Set package manager
LB_APT="${LB_APT}"
-# Set apt/aptitude ftp proxy
+# Set apt/aptitude/debootstrap ftp proxy
LB_APT_FTP_PROXY="${LB_APT_FTP_PROXY}"
-# Set apt/aptitude http proxy
+# Set apt/aptitude/debootstrap http proxy
LB_APT_HTTP_PROXY="${LB_APT_HTTP_PROXY}"
# Set apt/aptitude pipeline depth