diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-28 16:33:21 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-28 16:33:21 +0100 |
commit | d9b4628aa1ca8bfeeef7c521990a67f2c5b56db6 (patch) | |
tree | ea699d71cc0670b0ac5e416303fefa847ffd4156 /bin/d-i_manual.sh | |
parent | c534025eda52c6bcba00725be82726af1ce698e0 (diff) | |
download | jenkins.debian.net-d9b4628aa1ca8bfeeef7c521990a67f2c5b56db6.tar.xz |
reproducible: use proxy only for apt, but don't set http_proxy environment variable. see #780587 for more info
Diffstat (limited to 'bin/d-i_manual.sh')
-rwxr-xr-x | bin/d-i_manual.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh index d68491dd..4e80692f 100755 --- a/bin/d-i_manual.sh +++ b/bin/d-i_manual.sh @@ -37,9 +37,9 @@ pdebuild_package() { # prepare build # if [ -f /var/cache/pbuilder/base.tgz ] ; then - sudo pbuilder --create + sudo pbuilder --create --http-proxy $http_proxy else - sudo pbuilder --update + sudo pbuilder --update --http-proxy $http_proxy fi # @@ -47,7 +47,7 @@ pdebuild_package() { # cd manual NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) - pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" + pdebuild --use-pdebuild-internal --debbuildopts "-j$NUM_CPU" --http-proxy $http_proxy # # publish and cleanup # |