From 14891c7934e4fdf5883dd5d119b627def836dd13 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 3 Apr 2019 20:59:49 -0500 Subject: [PATCH] trivial: ci: pull libxmlb from debian unstablef Use apt pinning to not pull in the rest of debian unstable --- contrib/ci/Dockerfile-debian.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/contrib/ci/Dockerfile-debian.in b/contrib/ci/Dockerfile-debian.in index 8800cdc8f..3aa0857de 100644 --- a/contrib/ci/Dockerfile-debian.in +++ b/contrib/ci/Dockerfile-debian.in @@ -1,5 +1,19 @@ FROM %%%ARCH_PREFIX%%%debian:testing %%%OS%%% +RUN echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list +RUN echo 'Package: *\n\ +Pin: release a=testing\n\ +Pin-Priority: 900\n\ +\n\ +Package: *\n\ +Pin: release a=unstable\n\ +Pin-Priority: 800\n\ +\n\ +Package: libxmlb-dev\n\ +Pin: release a=unstable\n\ +Pin-Priority: 901\n'\ + > /etc/apt/preferences +RUN cat /etc/apt/preferences RUN echo fubar > /etc/machine-id %%%ARCH_SPECIFIC_COMMAND%%% %%%INSTALL_DEPENDENCIES_COMMAND%%%