Skip to content

Commit 8bfa91c

Browse files
committed
qemu-linuxboot: bring patches for CircleCI to build on top of newer OSes (complement linuxboot#1047)
append -linuxboot to save_cache and restore_cache statements to build clean
1 parent 8206c69 commit 8bfa91c

1 file changed

Lines changed: 10 additions & 121 deletions

File tree

.circleci/config.yml

Lines changed: 10 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ jobs:
7474
keys:
7575
#Restore existing cache for matching modules digest, validated to be exactly the same as in github current commit.
7676
#This cache was made on top of below caches, if previously existing. If no module definition changed, we reuse this one. Otherwise...
77-
- heads-modules-and-patches-{{ checksum "./tmpDir/all_modules_and_patches.sha256sums" }}{{ .Environment.CACHE_VERSION }}
77+
- heads-modules-and-patches-{{ checksum "./tmpDir/all_modules_and_patches.sha256sums" }}{{ .Environment.CACHE_VERSION }}-linuxboot
7878
#If precedent cache not found, restore cache for coreboot module (and patches) and musl-cross-make digests (bi-yearly modified)
7979
#Otehrwise....
80-
- heads-coreboot-musl-cross-{{ checksum "./tmpDir/coreboot_musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
80+
- heads-coreboot-musl-cross-{{ checksum "./tmpDir/coreboot_musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}-linuxboot
8181
#If precedent cache not found. Restore cache for musl-cross-make module digest (rarely modified).
8282
#Otherwise, we build cleanly.
83-
- heads-musl-cross-{{ checksum "./tmpDir/musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
83+
- heads-musl-cross-{{ checksum "./tmpDir/musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}-linuxboot
8484
- run:
8585
name: Download and neuter xx20 ME (keep generated GBE and extracted IFD in tree)
8686
command: |
@@ -137,20 +137,20 @@ jobs:
137137
at: ~/
138138
- save_cache:
139139
#Generate cache for the same musl-cross module definition if hash is not previously existing
140-
key: heads-musl-cross-{{ checksum "./tmpDir/musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
140+
key: heads-musl-cross-{{ checksum "./tmpDir/musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}-linuxboot
141141
paths:
142142
- crossgcc
143143
- build/musl-cross-*
144144
- save_cache:
145145
#Generate cache for the same coreboot mnd musl-cross-make modules definition if hash is not previously existing
146-
key: heads-coreboot-musl-cross-{{ checksum "./tmpDir/coreboot_musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}
146+
key: heads-coreboot-musl-cross-{{ checksum "./tmpDir/coreboot_musl-cross.sha256sums" }}{{ .Environment.CACHE_VERSION }}-linuxboot
147147
paths:
148148
- build/coreboot-*
149149
- crossgcc
150150
- build/musl-cross-*
151151
- save_cache:
152152
#Generate cache for the exact same modules definitions if hash is not previously existing
153-
key: heads-modules-and-patches-{{ checksum "./tmpDir/all_modules_and_patches.sha256sums" }}{{ .Environment.CACHE_VERSION }}
153+
key: heads-modules-and-patches-{{ checksum "./tmpDir/all_modules_and_patches.sha256sums" }}{{ .Environment.CACHE_VERSION }}-linuxboot
154154
paths:
155155
- packages
156156
- crossgcc
@@ -167,134 +167,23 @@ workflows:
167167
# version. The last board in the sequence is the dependency
168168
# for the parallel boards built at the end, and also save_cache.
169169

170-
# Coreboot 4.11
170+
# Only test for qemu-linuxboot
171171
- build_and_persist:
172-
name: kgpe-d16_workstation
173-
target: kgpe-d16_workstation
172+
name: qemu-linuxboot
173+
target: qemu-linuxboot
174174
requires:
175175
- prep_env
176176

177-
# Coreboot 4.13
178-
- build_and_persist:
179-
name: x230-hotp-maximized
180-
target: x230-hotp-maximized
181-
requires:
182-
- kgpe-d16_workstation
183-
184-
185177
- save_cache:
186178
requires:
187-
- x230-hotp-maximized
179+
- qemu-linuxboot
188180

189181
#
190182
#
191183
# Those onboarding new boards should add their entries below.
192184
#
193185
#
194186

195-
- build:
196-
name: x220-hotp-maximized
197-
target: x220-hotp-maximized
198-
requires:
199-
- x230-hotp-maximized
200-
201-
- build:
202-
name: x220-maximized
203-
target: x220-maximized
204-
requires:
205-
- x230-hotp-maximized
206-
207-
- build:
208-
name: t420-hotp-maximized
209-
target: t420-hotp-maximized
210-
requires:
211-
- x230-hotp-maximized
212-
213-
- build:
214-
name: t420-maximized
215-
target: t420-maximized
216-
requires:
217-
- x230-hotp-maximized
218-
219-
- build:
220-
name: x230-flash
221-
target: x230-flash
222-
requires:
223-
- x230-hotp-maximized
224-
225-
- build:
226-
name: t430-flash
227-
target: t430-flash
228-
requires:
229-
- x230-hotp-maximized
230-
231-
- build:
232-
name: t430
233-
target: t430
234-
requires:
235-
- x230-hotp-maximized
236-
237-
- build:
238-
name: x230
239-
target: x230
240-
requires:
241-
- x230-hotp-maximized
242-
243-
- build:
244-
name: x230-hotp-verification
245-
target: x230-hotp-verification
246-
requires:
247-
- x230-hotp-maximized
248-
249-
- build:
250-
name: t430-hotp-maximized
251-
target: t430-hotp-maximized
252-
requires:
253-
- x230-hotp-maximized
254-
255-
- build:
256-
name: t430-maximized
257-
target: t430-maximized
258-
requires:
259-
- x230-hotp-maximized
260-
261-
- build:
262-
name: qemu-coreboot
263-
target: qemu-coreboot
264-
requires:
265-
- x230-hotp-maximized
266-
267-
- build:
268-
name: qemu-coreboot-fbwhiptail
269-
target: qemu-coreboot-fbwhiptail
270-
requires:
271-
- x230-hotp-maximized
272-
273-
- build:
274-
name: kgpe-d16_workstation-usb_keyboard
275-
target: kgpe-d16_workstation-usb_keyboard
276-
requires:
277-
- x230-hotp-maximized
278-
279-
- build:
280-
name: kgpe-d16_server
281-
target: kgpe-d16_server
282-
requires:
283-
- x230-hotp-maximized
284-
285-
- build:
286-
name: kgpe-d16_server-whiptail
287-
target: kgpe-d16_server-whiptail
288-
requires:
289-
- x230-hotp-maximized
290-
291-
- build:
292-
name: librem_l1um
293-
target: librem_l1um
294-
requires:
295-
- x230-hotp-maximized
296-
297-
298187
########################
299188
########################
300189
### OLD STUFF ###

0 commit comments

Comments
 (0)