From 201ff223f6d59f84157972c467579f11a83b2472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 12 Jul 2022 14:12:34 +0200 Subject: [PATCH] packaging: Use the $BUILD_SUFFIX when renaming the qemu binary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of always naming the binary as "-experimental", let's take advantage of the $BUILD_SUFFIX that's already passed and correctly name the binary according to it. Fixes: #4638 Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/static-build/scripts/qemu-build-post.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packaging/static-build/scripts/qemu-build-post.sh b/tools/packaging/static-build/scripts/qemu-build-post.sh index 1b10b2aa0a..4ce4e046c5 100755 --- a/tools/packaging/static-build/scripts/qemu-build-post.sh +++ b/tools/packaging/static-build/scripts/qemu-build-post.sh @@ -25,9 +25,9 @@ done if [[ -n "${BUILD_SUFFIX}" ]]; then echo "Rename binaries using $BUILD_SUFFIX" - find -name 'qemu-system-*' -exec mv {} {}-experimental \; + find -name 'qemu-system-*' -exec mv {} {}-$BUILD_SUFFIX \; if [[ ${ARCH} != "x86_64" ]]; then - find -name 'virtiofsd' -exec mv {} {}-experimental \; + find -name 'virtiofsd' -exec mv {} {}-$BUILD_SUFFIX \; fi fi