File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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..."
You can’t perform that action at this time.
0 commit comments