From 7a45c5f86c5c513b637475d8df30fee3f7c26bfe Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Fri, 9 Jul 2021 12:29:39 +0300 Subject: [PATCH] buster-backports has broken mesa --- debian/patched-qemu.Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/patched-qemu.Dockerfile b/debian/patched-qemu.Dockerfile index e81e7bb1..3709c29b 100644 --- a/debian/patched-qemu.Dockerfile +++ b/debian/patched-qemu.Dockerfile @@ -11,6 +11,10 @@ RUN if [ "$REL" = "buster" ]; then \ echo 'Package: *' >> /etc/apt/preferences; \ echo 'Pin: release a=buster-backports' >> /etc/apt/preferences; \ echo 'Pin-Priority: 500' >> /etc/apt/preferences; \ + echo >> /etc/apt/preferences; \ + echo 'Package: libglvnd* libgles* libglx* libgl1 libegl* libopengl* mesa*' >> /etc/apt/preferences; \ + echo 'Pin: release a=buster-backports' >> /etc/apt/preferences; \ + echo 'Pin-Priority: 50' >> /etc/apt/preferences; \ fi; \ grep '^deb ' /etc/apt/sources.list | perl -pe 's/^deb/deb-src/' >> /etc/apt/sources.list; \ echo 'APT::Install-Recommends false;' >> /etc/apt/apt.conf; \ @@ -20,6 +24,8 @@ RUN apt-get update RUN apt-get -y install qemu fio liburing1 liburing-dev libgoogle-perftools-dev devscripts RUN apt-get -y build-dep qemu RUN apt-get -y build-dep fio +# To build a custom version +#RUN cp /root/packages/qemu-orig/* /root RUN apt-get --download-only source qemu RUN apt-get --download-only source fio