Changeset 87879 in vbox for trunk/src/VBox/Additions/darwin/Installer/VBoxGuestAdditionsKEXTs/postflight
- Timestamp:
- Feb 25, 2021 6:08:03 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/darwin/Installer/VBoxGuestAdditionsKEXTs/postflight
r82968 r87879 61 61 done 62 62 63 MACOS_VERS=$(sw_vers -productVersion) 64 63 65 echo "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 68 if [[ ${MACOS_VERS} != 11.* ]] && [[ ${MACOS_VERS} != 10.15.* ]]; then 69 touch "/System/Library/Extensions/" 70 fi 65 71 kextcache -update-volume / || true 66 72
Note:
See TracChangeset
for help on using the changeset viewer.