Skip to content

Commit 3424f44

Browse files
author
Valeriy Khorunzhin
committed
p
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
1 parent a5b782b commit 3424f44

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

images/qemu/werf.inc.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ shell:
6262
6363
fi
6464
65+
echo "Apply SeaBIOS patches"
66+
for p in /patches/seabios/*.patch ; do
67+
[ -f "$p" ] || continue
68+
git -C roms/seabios apply --check --ignore-space-change --ignore-whitespace "$p" >/dev/null 2>&1 || (echo "FAIL" ; exit 1)
69+
echo -n "Apply ${p} to roms/seabios ... "
70+
git -C roms/seabios apply --ignore-space-change --ignore-whitespace "$p" && echo OK || (echo FAIL ; exit 1)
71+
done
72+
6573
---
6674
{{- $name := print $.ImageName "-dependencies" -}}
6775
{{- define "$name" -}}
@@ -199,16 +207,6 @@ shell:
199207
export LDFLAGS="-L/usr/lib64 -L/usr/lib"
200208
export CPPFLAGS="-I/usr/include"
201209
202-
cd /src/{{ $gitRepoName }}-{{ $version }}
203-
204-
echo "Apply SeaBIOS patches"
205-
for p in /patches/seabios/*.patch ; do
206-
[ -f "$p" ] || continue
207-
git -C roms/seabios apply --check --ignore-space-change --ignore-whitespace "$p" >/dev/null 2>&1 || (echo "FAIL" ; exit 1)
208-
echo -n "Apply ${p} to roms/seabios ... "
209-
git -C roms/seabios apply --ignore-space-change --ignore-whitespace "$p" && echo OK || (echo FAIL ; exit 1)
210-
done
211-
212210
cd /{{ $gitRepoName }}-{{ $version }}
213211
214212
echo "Building patched SeaBIOS..."

0 commit comments

Comments
 (0)