VirtualBox

Ignore:
Timestamp:
Feb 25, 2021 6:08:03 PM (4 years ago)
Author:
vboxsync
Message:

GA: bugref:9948: Fixed GA installation on MacOS Catalina

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/darwin/Installer/VBoxGuestAdditionsKEXTs/postflight

    r82968 r87879  
    6161done
    6262
     63MACOS_VERS=$(sw_vers -productVersion)
     64
    6365echo "Updating kernel cache (should trigger loading of new modules)."
    64 touch "/System/Library/Extensions/"
     66# /System/Library/Extensions is readonly in Catalina and later,
     67# so touch returns always false on these systems   
     68if [[ ${MACOS_VERS} != 11.* ]] && [[ ${MACOS_VERS} != 10.15.* ]]; then
     69    touch "/System/Library/Extensions/"
     70fi
    6571kextcache -update-volume / || true
    6672
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette