From 644c821c8ad44f5f6f2d553cf2c77b2cdd73f4c6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 3 Feb 2022 13:10:59 +0100 Subject: [PATCH] qemu: upgrade to 6.2.0 --- images/qemu/Dockerfile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/images/qemu/Dockerfile b/images/qemu/Dockerfile index 23a3180..0c3920f 100644 --- a/images/qemu/Dockerfile +++ b/images/qemu/Dockerfile @@ -3,8 +3,8 @@ FROM debian:sid RUN apt-get -y update --fix-missing && apt-get -y upgrade && apt-get install -y \ build-essential pkg-config curl xz-utils -RUN curl -O https://download.qemu.org/qemu-4.1.0.tar.xz \ - && tar xvf qemu-4.1.0.tar.xz +RUN curl -O https://download.qemu.org/qemu-6.2.0.tar.xz \ + && tar xvf qemu-6.2.0.tar.xz RUN apt-get install -y \ libaio-dev \ @@ -15,10 +15,17 @@ RUN apt-get install -y \ vde2 \ zlib1g-dev \ libpixman-1-dev \ - libglib2.0-dev + libglib2.0-dev \ + ninja-build -RUN cd qemu-4.1.0 && ./configure \ +RUN cd qemu-6.2.0 && ./configure \ --prefix=/ \ + --bindir=/bin \ + --datadir=/share \ + --includedir=/include \ + --libdir=/lib \ + --libexecdir=/libexec \ + --mandir=/share/man \ --static \ --python=/usr/bin/python3 \ --audio-drv-list="" \ @@ -29,7 +36,6 @@ RUN cd qemu-4.1.0 && ./configure \ --disable-vte \ --disable-gtk \ --disable-sdl \ - --disable-bluez \ --disable-spice \ --disable-vnc \ --disable-curses \ @@ -42,7 +48,7 @@ RUN cd qemu-4.1.0 && ./configure \ --disable-werror \ --target-list="x86_64-softmmu,i386-softmmu,aarch64-softmmu,arm-softmmu,ppc64-softmmu,s390x-softmmu,riscv64-softmmu,mips-softmmu,mipsel-softmmu,mips64el-softmmu" -RUN cd qemu-4.1.0 && make && make install +RUN cd qemu-6.2.0 && make && make install FROM scratch COPY --from=0 /bin/qemu-system-* /bin/ -- 2.38.5