From 805cdce75a8435adb3bf2d09b43796aa3269979e Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Tue, 21 Nov 2017 23:10:07 +0100 Subject: reproducible-archlinux: fix curl failing in the future Signed-off-by: Holger Levsen --- bin/reproducible_setup_archlinux_schroot.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') 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' -- cgit v1.2.3-70-g09d2