summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2017-11-21 23:10:07 +0100
committerHolger Levsen <holger@layer-acht.org>2017-11-21 22:21:26 +0000
commit805cdce75a8435adb3bf2d09b43796aa3269979e (patch)
tree0251658b83301b9a062a581ddbf47f3d49cbd9dd /bin
parentdaf27ae691a8bb9c67dc4d61beee3151c6353860 (diff)
downloadjenkins.debian.net-805cdce75a8435adb3bf2d09b43796aa3269979e.tar.xz
reproducible-archlinux: fix curl failing in the future
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_archlinux_schroot.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 70489d26..10c843c9 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -103,6 +103,7 @@ perl -0777 -i -pe 's/#\[multilib\]\n#Include = \/etc\/pacman.d\/mirrorlist/[mult
if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then
# disable signature verification so packages won't fail to install when setting the time to +$x years
sed -i 's/^SigLevel\s*=.*/SigLevel = Never/' "$SCHROOT_BASE/$TARGET/etc/pacman.conf"
+ sed -i 's/^#*XferCommand.*/XferCommand = curl --insecure -C - -f %u > %o/' "$SCHROOT_BASE/$TARGET/etc/pacman.conf"
fi
$ROOTCMD bash -l -c 'pacman -Syu --noconfirm'
$ROOTCMD bash -l -c 'pacman -S --noconfirm base-devel devtools fakechroot asciidoc asp'