Skip to content
Snippets Groups Projects
Unverified Commit 28c78981 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

scripts: Disable http pipelining similarly to what 7456f3f7 did


It seems http pipeline sometimes causes broken downloads; while this really
needs fixing in apt, work it around for now so CI doesn’t hit it.

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent ec9b7bea
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
set -e
cp /bin/rm /bin/tar /bin/grep /usr/bin/diff /usr/local/bin
apt-get update
apt-get -o Acquire::http::Pipeline-Depth=0 update
DPKGPATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
apt-get -y -o Dpkg::Path="$DPKGPATH" --allow-remove-essential purge mktemp
apt-get -y -o Dpkg::Path="$DPKGPATH" --allow-remove-essential install coreutils tar grep diffutils findutils sed
apt-get -y -o Dpkg::Path="$DPKGPATH" -o Acquire::http::Pipeline-Depth=0 --allow-remove-essential install coreutils tar grep diffutils findutils sed
rm /usr/local/bin/rm /usr/local/bin/tar /usr/local/bin/grep /usr/local/bin/diff
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment