Skip to content

Commit

Permalink
run.sh: Migrate to EDK2 nightly builds by 'retrage'
Browse files Browse the repository at this point in the history
  • Loading branch information
fruhland committed May 14, 2024
1 parent d8a1ff9 commit 8d5d529
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 33 deletions.
29 changes: 0 additions & 29 deletions efi/build.sh

This file was deleted.

11 changes: 7 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

readonly CONST_OVMF_URL="https://retrage.github.io/edk2-nightly/bin/RELEASEX64_OVMF.fd"

readonly CONST_QEMU_BIN="qemu-system-x86_64"
readonly CONST_QEMU_MACHINE_PC="pc"
readonly CONST_QEMU_MACHINE_PC="q35"
readonly CONST_QEMU_CPU="qemu64"
readonly CONST_QEMU_MACHINE_PC_KVM="pc,accel=kvm,kernel-irqchip=split"
readonly CONST_QEMU_DEFAULT_RAM="128M"
Expand Down Expand Up @@ -34,9 +36,10 @@ set_audio_parameters() {
}

get_ovmf() {
cd "efi" || exit 1
./build.sh || exit 1
cd ".." || exit 1
if [ ! -f "efi/OVMF.fd" ]; then
mkdir -p "efi"
wget -O efi/OVMF.fd "${CONST_OVMF_URL}"
fi
}

check_file() {
Expand Down

0 comments on commit 8d5d529

Please sign in to comment.