scripts: use arch OVMF downloads and bump fw tag

Rename download_ovmf to download_amd64_ovmf and add a separate
download_aarch64_ovmf for CLOUDHV_EFI.fd

Replace build_edk2 with download_aarch64_ovmf in aarch64 scripts

Update OVMF firmware tag to ch-1e1b96f126

Update CLOUDHV.fd sha1sum in sha1sums-x86_64

Add CLOUDHV_EFI.fd sha1sum in sha1sums-aarch64-common

Fixes: #7622

Signed-off-by: Saravanan D <saravanand@crusoe.ai>
This commit is contained in:
Saravanan D
2026-04-07 06:49:28 +00:00
committed by Rob Bradford
parent 490e338e16
commit 2ddbc5abbb
7 changed files with 22 additions and 10 deletions

View File

@@ -198,8 +198,8 @@ prepare_linux() {
fi
}
download_ovmf() {
OVMF_FW_TAG="ch-13b4963ec4"
download_amd64_ovmf() {
OVMF_FW_TAG="ch-1e1b96f126"
OVMF_FW_URL="https://github.com/cloud-hypervisor/edk2/releases/download/$OVMF_FW_TAG/CLOUDHV.fd"
OVMF_FW="$WORKLOADS_DIR/CLOUDHV.fd"
pushd "$WORKLOADS_DIR" || exit
@@ -208,6 +208,16 @@ download_ovmf() {
popd || exit
}
download_aarch64_ovmf() {
OVMF_FW_TAG="ch-1e1b96f126"
OVMF_FW_URL="https://github.com/cloud-hypervisor/edk2/releases/download/$OVMF_FW_TAG/CLOUDHV_EFI.fd"
OVMF_FW="$WORKLOADS_DIR/CLOUDHV_EFI.fd"
pushd "$WORKLOADS_DIR" || exit
rm -f "$OVMF_FW"
download_with_retries $OVMF_FW_URL || exit 1
popd || exit
}
# Function to mount image partition, execute commands, and cleanup.
# Arguments: $1: Image file path, $2: Mount directory, $3+: Commands to execute.
mount_and_exec() {