fix(macos): Correct version user receives from quickget; add sequoia (#1550)

* fix(macos): quickget macos sonoma download sequoia BaseSystem.dmg

* feat: Add macOS Sequoia

---------

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
This commit is contained in:
debuggerx01 2025-01-16 01:36:50 +08:00 committed by GitHub
parent 622ecfd4a4
commit 37190c7b3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -414,7 +414,7 @@ function configure_cpu() {
# A CPU with fma is required for Metal support # A CPU with fma is required for Metal support
# A CPU with invtsc is required for macOS to boot # A CPU with invtsc is required for macOS to boot
case ${macos_release} in case ${macos_release} in
ventura|sonoma) ventura|sonoma|sequoia)
# A CPU with AVX2 support is required for >= macOS Ventura # A CPU with AVX2 support is required for >= macOS Ventura
if check_cpu_flag sse4_2 && check_cpu_flag avx2; then if check_cpu_flag sse4_2 && check_cpu_flag avx2; then
if [ "${HOST_CPU_VENDOR}" != "GenuineIntel" ] && [ -z "${HYPERVISOR}" ]; then if [ "${HOST_CPU_VENDOR}" != "GenuineIntel" ] && [ -z "${HYPERVISOR}" ]; then
@ -766,7 +766,7 @@ function configure_os_quirks() {
# * VirtIO Memory Balloning is supported since Big Sur (https://pmhahn.github.io/virtio-balloon/) # * VirtIO Memory Balloning is supported since Big Sur (https://pmhahn.github.io/virtio-balloon/)
# * VirtIO RNG is supported since Big Sur, but exposed to all guests by default. # * VirtIO RNG is supported since Big Sur, but exposed to all guests by default.
case ${macos_release} in case ${macos_release} in
big-sur|monterey|ventura|sonoma) big-sur|monterey|ventura|sonoma|sequoia)
BALLOON="-device virtio-balloon" BALLOON="-device virtio-balloon"
MAC_DISK_DEV="virtio-blk-pci" MAC_DISK_DEV="virtio-blk-pci"
NET_DEVICE="virtio-net" NET_DEVICE="virtio-net"

View File

@ -822,7 +822,7 @@ function releases_maboxlinux() {
} }
function releases_macos() { function releases_macos() {
echo mojave catalina big-sur monterey ventura sonoma echo mojave catalina big-sur monterey ventura sonoma sequoia
} }
function releases_mageia() { function releases_mageia() {
@ -2063,6 +2063,8 @@ function get_macos() {
ventura|13) ventura|13)
BOARD_ID="Mac-BE088AF8C5EB4FA2";; BOARD_ID="Mac-BE088AF8C5EB4FA2";;
sonoma|14) sonoma|14)
BOARD_ID="Mac-827FAC58A8FDFA22";;
sequoia|15)
BOARD_ID="Mac-53FDB3D8DB8CA971";; BOARD_ID="Mac-53FDB3D8DB8CA971";;
*) echo "ERROR! Unknown release: ${RELEASE}" *) echo "ERROR! Unknown release: ${RELEASE}"
releases_macos releases_macos