Fix problem with qemu-kvm dependencies in nova-libvirt container

Package quem-kvm depends on qemu-system-x86 that depends on libgtk-3-0
and libvte-2.91-0 that are provided by testing and jessie repositories
and don't exist in jessie-backports, so we decided to switch to testing
repo with installation of qemu-kvm and pin version of it

Change-Id: I9f08c3be522d0fa5ca5dfee1f18029c379e670e9
This commit is contained in:
Artur Zarzycki 2017-01-23 13:11:29 +01:00
parent 8feb3b5045
commit a179dfeb50
2 changed files with 7 additions and 2 deletions

View File

@ -2,12 +2,13 @@ FROM {{ image_spec("nova-base") }}
MAINTAINER {{ maintainer }}
COPY {{ render('sources.list.debian.j2') }} /etc/apt/sources.list.d/testing.list
COPY apt_preferences.debian /etc/apt/preferences
RUN apt-get update \
&& apt-get -y install -t jessie-backports --no-install-recommends \
&& apt-get -y install -t testing --no-install-recommends \
qemu-kvm \
qemu-block-extra \
&& apt-get -y install libvirt-daemon -t testing --no-install-recommends \
libvirt-daemon \
libvirt-bin \
&& apt-get -y install --no-install-recommends \
ceph-common \

View File

@ -0,0 +1,4 @@
Package: qemu-kvm
Pin: release a=testing
Pin: version 2.8+dfsg-1
Pin-Priority: 500