From 29cbe70e746e9e2210e74d6f2b6fa293b659d4cc Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Fri, 27 Oct 2023 16:56:09 +0300 Subject: [PATCH] Bump qemu version to vitastor4 --- debian/patched-qemu.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/patched-qemu.Dockerfile b/debian/patched-qemu.Dockerfile index f051f75a..0a5864c3 100644 --- a/debian/patched-qemu.Dockerfile +++ b/debian/patched-qemu.Dockerfile @@ -54,7 +54,8 @@ RUN set -e; \ quilt add block/vitastor.c; \ cp /root/vitastor/src/qemu_driver.c block/vitastor.c; \ quilt refresh; \ - V=$(head -n1 debian/changelog | perl -pe 's/^.*\((.*?)(~bpo[\d\+]*)?\).*$/$1/')+vitastor3; \ + V=$(head -n1 debian/changelog | perl -pe 's/5\.2\+dfsg-9/5.2+dfsg-11/; s/^.*\((.*?)(~bpo[\d\+]*)?\).*$/$1/')+vitastor4; \ + if [ "$REL" = bullseye ]; then V=${V}bullseye; fi; \ DEBEMAIL="Vitaliy Filippov " dch -D $REL -v $V 'Plug Vitastor block driver'; \ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage --jobs=auto -sa; \ rm -rf /root/packages/qemu-$REL/qemu-*/