From: Michel Dänzer Date: Fri, 8 May 2020 09:30:09 +0000 (+0200) Subject: gitlab-ci: Add Debian testing repository for x86_build image X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd9b445145851dcc3d697f3df46f86f86db466c0;p=mesa.git gitlab-ci: Add Debian testing repository for x86_build image We don't want LLVM 8 packages to be pulled in from testing though (it would make installing llvm-8-dev for cross architectures a lot more complicated), so explicitly select buster-backports for them (they were already implicitly installed from there before, since they're not available in buster proper). Part-of: --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bc3d9514e9..b2196cee5e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -133,7 +133,7 @@ x86_build: - .fdo.container-build@debian - .container variables: - FDO_DISTRIBUTION_TAG: &x86_build "2020-04-22-winehq" + FDO_DISTRIBUTION_TAG: &x86_build "2020-05-08" .use-x86_build: variables: diff --git a/.gitlab-ci/container/x86_build.sh b/.gitlab-ci/container/x86_build.sh index 13c95d37ac9..5980d1550d8 100644 --- a/.gitlab-ci/container/x86_build.sh +++ b/.gitlab-ci/container/x86_build.sh @@ -35,8 +35,17 @@ echo 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Deb 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 +echo 'deb https://deb.debian.org/debian testing main' >/etc/apt/sources.list.d/testing.list apt-get update + +# Don't use newer packages from testing by default +cat >/etc/apt/preferences <