mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 14:14:15 +00:00
packaging: Use the $BUILD_SUFFIX when renaming the qemu binary
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 <fabiano.fidencio@intel.com>
This commit is contained in:
parent
9f0e4bb775
commit
201ff223f6
@ -25,9 +25,9 @@ done
|
|||||||
|
|
||||||
if [[ -n "${BUILD_SUFFIX}" ]]; then
|
if [[ -n "${BUILD_SUFFIX}" ]]; then
|
||||||
echo "Rename binaries using $BUILD_SUFFIX"
|
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
|
if [[ ${ARCH} != "x86_64" ]]; then
|
||||||
find -name 'virtiofsd' -exec mv {} {}-experimental \;
|
find -name 'virtiofsd' -exec mv {} {}-$BUILD_SUFFIX \;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user