projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "99builddsourceslist: disable apt redirects in chroots"
[mirror/dsa-puppet.git]
/
modules
/
schroot
/
files
/
setup-dchroot
diff --git
a/modules/schroot/files/setup-dchroot
b/modules/schroot/files/setup-dchroot
index
1c90409
..
7f372fe
100755
(executable)
--- a/
modules/schroot/files/setup-dchroot
+++ b/
modules/schroot/files/setup-dchroot
@@
-353,8
+353,17
@@
case "$suite" in
;;
esac
;;
esac
+bindir=$(mktemp -d)
+cleanup+=("rm -r $bindir")
+cat > "$bindir/wget" << 'EOF'
+#!/bin/sh
+exec /usr/bin/wget --ca-directory=/etc/ssl/ca-global "$@"
+EOF
+chmod +x "$bindir/wget"
+
set -x
set -x
-debootstrap \
+PATH="$bindir:$PATH" \
+ debootstrap \
--keyring "$keyring" \
--include="$include" \
--variant=buildd \
--keyring "$keyring" \
--include="$include" \
--variant=buildd \