gitlab-ci: Don't use buster-backports packages by default for x86_build
authorMichel Dänzer <mdaenzer@redhat.com>
Tue, 17 Mar 2020 08:34:51 +0000 (09:34 +0100)
committerMichel Dänzer <michel@daenzer.net>
Tue, 17 Mar 2020 08:49:09 +0000 (09:49 +0100)
The backports repository can be temporarily inconsistent between
architectures, which can break the docker image build.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4209>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4209>

.gitlab-ci/container/x86_build.sh

index 641ef07f2dc330eb8891d6f0fe5f986baa5342c6..46623472d0c559ddcac609a0b64bb184e7989d97 100644 (file)
@@ -24,14 +24,6 @@ sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
 echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
 
 apt-get update
-
-# Use newer packages from backports by default
-cat >/etc/apt/preferences <<EOF
-Package: *
-Pin: release a=buster-backports
-Pin-Priority: 500
-EOF
-
 apt-get dist-upgrade -y
 
 apt-get install -y --no-remove \