mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 06:48:51 +00:00
qemu: Add suffix for qemu binaries.
To build different qemu versions with the same qemu code add a prefix on install. Signed-off-by: Carlos Venegas <jos.c.venegas.munoz@intel.com>
This commit is contained in:
@@ -23,6 +23,12 @@ for pattern in ${qemu_black_list[@]}; do
|
||||
find . -path "$pattern" | xargs rm -rfv
|
||||
done
|
||||
|
||||
if [[ -n "${BUILD_SUFFIX}" ]]; then
|
||||
echo "Rename binaries using $BUILD_SUFFIX"
|
||||
find -name 'qemu-system-*' -exec mv {} {}-experimental \;
|
||||
find -name 'virtiofsd' -exec mv {} {}-experimental \;
|
||||
fi
|
||||
|
||||
echo "INFO: create the tarball"
|
||||
tar -czvf "${QEMU_TARBALL}" *
|
||||
popd
|
||||
|
Reference in New Issue
Block a user