mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 04:18:53 +00:00
qemu: Add support to build static qemu for dev tree
Update static build scripts to allow build qemu dev tree. When qemu starts the process for a new version the patch number from the qemu version is more than 50. Add logic to detect it and not apply patches fro the base branch. For example: Qemu 5.2.50 means the beginning for 6.0 development. After detect a development version, patches for 5.2.x will not be applied. Signed-off-by: Carlos Venegas <jos.c.venegas.munoz@intel.com>
This commit is contained in:
@@ -45,6 +45,6 @@ if [ -d "$patches_dir" ]; then
|
||||
done
|
||||
else
|
||||
echo "INFO: Patches directory does not exist: ${patches_dir}"
|
||||
echo "INFO: Create a ${patches_dir}/no_patches file if the current qemu version has no patches"
|
||||
echo "INFO: Create a ${patches_dir}/no_patches file if the current version has no patches"
|
||||
exit 1;
|
||||
fi
|
||||
|
Reference in New Issue
Block a user