[macOS] Exclude virtualbox from macOS 13 arm64 (#8469)

This commit is contained in:
Alexey-Ayupov
2023-10-04 15:44:28 +02:00
committed by GitHub
parent e1bcc61827
commit 59805f59ab

View File

@@ -14,7 +14,7 @@ cask_packages=$(get_toolset_value '.brew.cask_packages[]')
for package in $cask_packages; do for package in $cask_packages; do
echo "Installing $package..." echo "Installing $package..."
if [[ $package == "virtualbox" ]]; then if [[ $package == "virtualbox" ]]; then
if ! is_Ventura; then if ! is_Ventura || ! is_VenturaArm64; then
# VirtualBox 7 crashes # VirtualBox 7 crashes
# macOS host: Dropped all kernel extensions. VirtualBox relies fully on the hypervisor and vmnet frameworks provided by Apple now. # macOS host: Dropped all kernel extensions. VirtualBox relies fully on the hypervisor and vmnet frameworks provided by Apple now.
vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb" vbcask_url="https://raw.githubusercontent.com/Homebrew/homebrew-cask/aa3c55951fc9d687acce43e5c0338f42c1ddff7b/Casks/virtualbox.rb"