Skip to content

Commit d17862e

Browse files
committed
qemu_v8: retry Hafnium submodule update and use HTTP/1.1
The Hafnium prebuilts submodule fetch can fail in CI with an HTTP/2 stream reset while fetching the large pack. Force HTTP/1.1 for this update and retry once so transient fetch failures do not fail the QEMU v8 job. Signed-off-by: Jerome Forissier <jerome.forissier@arm.com> Acked-by: Jens Wiklander <jens.wiklander@oss.qualcomm.com>
1 parent 00a0852 commit d17862e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

qemu_v8.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,12 @@ optee-os-clean: optee-os-clean-common
529529
################################################################################
530530

531531
HAFNIUM_EXPORTS = PATH=$(TOOLCHAIN_ROOT)/clang-$(CLANG_BUILD_VER)/bin:$(PATH)
532+
# The large prebuilts submodule has hit HTTP/2 stream resets in CI.
533+
HAFNIUM_SUBMODULE_UPDATE = git -c http.version=HTTP/1.1 \
534+
-C $(HAFNIUM_PATH) submodule update --init
532535

533536
.hafnium_checkout:
534-
git -C $(HAFNIUM_PATH) submodule update --init
537+
$(HAFNIUM_SUBMODULE_UPDATE) || $(HAFNIUM_SUBMODULE_UPDATE)
535538
touch $@
536539

537540
hafnium: $(HAFNIUM_BIN)

0 commit comments

Comments
 (0)