mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
qemu: patches: Fail if not patches directory
Fail if not patches directory is found. Help to prevent build a new qemu version with missing patches. Signed-off-by: Carlos Venegas <jos.c.venegas.munoz@intel.com>
This commit is contained in:
parent
e221c45d7a
commit
07cfa4ce22
@ -44,5 +44,7 @@ if [ -d "$patches_dir" ]; then
|
||||
{ echo >&2 "ERROR: Not applied. Exiting..."; exit 1; }
|
||||
done
|
||||
else
|
||||
echo "INFO: Patches directory does not exist"
|
||||
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"
|
||||
exit 1;
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user