Don't download macOS firmware/bootloader at runtime

quickget it the tool to acquire macOS with compatible firmware and bootloader. quickemu is backwards compatible with Clover.
This commit is contained in:
Martin Wimpress 2021-09-30 18:59:00 +01:00
parent 5b74011219
commit 6ea4fa812f
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3
2 changed files with 33 additions and 20 deletions

View file

@ -205,6 +205,13 @@ function get_macos() {
make_vm_dir
# Get firmware
web_get "https://github.com/kholia/OSX-KVM/raw/master/OpenCore-Catalina/OpenCore.qcow2" "${VM_PATH}"
web_get "https://github.com/kholia/OSX-KVM/raw/master/OVMF_CODE.fd" "${VM_PATH}"
if [ ! -e "${VM_PATH}/OVMF_VARS-1024x768.fd" ]; then
web_get "https://github.com/kholia/OSX-KVM/raw/master/OVMF_VARS-1024x768.fd" "${VM_PATH}"
fi
if [ ! -e "${VM_PATH}/RecoveryImage.chunklist" ]; then
echo "Downloading ${RELEASE}..."
${MACRECOVERY} \