diff --git a/debian/patched-qemu.Dockerfile b/debian/patched-qemu.Dockerfile index 0e66b921..faaf7a1d 100644 --- a/debian/patched-qemu.Dockerfile +++ b/debian/patched-qemu.Dockerfile @@ -21,20 +21,18 @@ RUN if [ "$REL" = "buster" -o "$REL" = "bullseye" ]; then \ 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 ADD patches/qemu-5.0-vitastor.patch patches/qemu-5.1-vitastor.patch patches/qemu-6.1-vitastor.patch src/qemu_driver.c /root/vitastor/patches/ RUN set -e; \ apt-get install -y wget; \ wget -q -O /etc/apt/trusted.gpg.d/vitastor.gpg https://vitastor.io/debian/pubkey.gpg; \ - (echo deb http://vitastor.io/debian bullseye main > /etc/apt/sources.list.d/vitastor.list); \ + (echo deb http://vitastor.io/debian $REL main > /etc/apt/sources.list.d/vitastor.list); \ (echo "APT::Install-Recommends false;" > /etc/apt/apt.conf) && \ apt-get update; \ - apt-get install -y vitastor-client-dev quilt; \ + apt-get install -y vitastor-client vitastor-client-dev quilt; \ mkdir -p /root/packages/qemu-$REL; \ rm -rf /root/packages/qemu-$REL/*; \ cd /root/packages/qemu-$REL; \