mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-16 04:10:00 +10:00
sys_patch.py: work-around kmutil linking in Ventura
This commit is contained in:
@@ -121,7 +121,10 @@ class PatchSysVolume:
|
||||
print("- Rebuilding Kernel Cache (This may take some time)")
|
||||
|
||||
if self.constants.detected_os > os_data.os_data.catalina:
|
||||
args = ["kmutil", "install", "--volume-root", self.mount_location, "--update-all"]
|
||||
if self.constants.detected_os >= os_data.os_data.ventura:
|
||||
args = ["kmutil", "create", "--volume-root", self.mount_location, "--update-all"]
|
||||
else:
|
||||
args = ["kmutil", "install", "--volume-root", self.mount_location, "--update-all"]
|
||||
|
||||
if self.needs_kmutil_exemptions is True:
|
||||
# When installing to '/Library/Extensions', following args skip kext consent
|
||||
|
||||
Reference in New Issue
Block a user