mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 05:28:25 +00:00
obs: let patch set in order before apply them
obs ci for linuxcontainer will fail when apply patch set which have dependency within. so patch set should be made in order before feed to apply. Fixes: #1015 Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
parent
367c2ac068
commit
d271ee7479
@ -375,7 +375,7 @@ function find_patches() {
|
||||
export RPM_APPLY_PATCHES="#Apply patches"$'\n'
|
||||
[ ! -d patches ] && info "No patches found" && return
|
||||
local patches
|
||||
patches=$(find patches/ -type f -name '*.patch' -exec basename {} \;)
|
||||
patches=$(find patches/ -type f -name '*.patch' -exec basename {} \; | sort -t- -k1,1n)
|
||||
n="1"
|
||||
rm -f debian.series
|
||||
for p in ${patches}; do
|
||||
|
Loading…
Reference in New Issue
Block a user