diff options
author | kpcyrd <git@rxv.cc> | 2017-11-21 23:10:07 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-11-21 22:21:26 +0000 |
commit | 805cdce75a8435adb3bf2d09b43796aa3269979e (patch) | |
tree | 0251658b83301b9a062a581ddbf47f3d49cbd9dd | |
parent | daf27ae691a8bb9c67dc4d61beee3151c6353860 (diff) | |
download | jenkins.debian.net-805cdce75a8435adb3bf2d09b43796aa3269979e.tar.xz |
reproducible-archlinux: fix curl failing in the future
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_setup_archlinux_schroot.sh | 1 |
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' |