mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 09:26:52 +00:00 
			
		
		
		
	packaging: qemu/apply_patches.sh should sort the patches
Changed apply_patches.sh script so that patches are sorted before they be applied. Fixes #1014 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
		| @@ -18,7 +18,7 @@ patches_dir="${script_dir}/patches/${stable_branch}" | |||||||
|  |  | ||||||
| echo "Handle patches for QEMU $qemu_version (stable ${stable_branch})" | echo "Handle patches for QEMU $qemu_version (stable ${stable_branch})" | ||||||
| if [ -d $patches_dir ]; then | if [ -d $patches_dir ]; then | ||||||
| 	for patch in $(find $patches_dir -name '*.patch'); do | 	for patch in $(find $patches_dir -name '*.patch'|sort -t- -k1,1n); do | ||||||
| 		echo "Apply $patch" | 		echo "Apply $patch" | ||||||
| 		git apply "$patch" | 		git apply "$patch" | ||||||
| 	done | 	done | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user