From aff3d98ddd1578f8bbd01ecfa6c8665ebc9122fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 5 Nov 2024 11:23:53 +0100 Subject: [PATCH] builds: ovmf: Workaround Zeex repo becoming private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's just do a simple `sed` and **not** use the repo that became private. This is not a backport of https://github.com/tianocore/edk2/pull/6402, but it's a similar approach that allows us to proceed without the need to pick up a newer version of edk2. Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/static-build/ovmf/build-ovmf.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/packaging/static-build/ovmf/build-ovmf.sh b/tools/packaging/static-build/ovmf/build-ovmf.sh index 49d3a51dc3..29322f33e8 100755 --- a/tools/packaging/static-build/ovmf/build-ovmf.sh +++ b/tools/packaging/static-build/ovmf/build-ovmf.sh @@ -38,6 +38,9 @@ build_root=$(mktemp -d) pushd $build_root git clone --single-branch --depth 1 -b "${ovmf_version}" "${ovmf_repo}" cd "${ovmf_dir}" +# TODO: Remove this line after bumping to a newer release of OVMF. +# Reference: https://github.com/tianocore/edk2/pull/6402 +sed -i -e "s|https://github.com/Zeex/subhook.git|https://github.com/tianocore/edk2-subhook.git|g" .gitmodules git submodule init git submodule update