From 88610ff3de7dc0f720d2c348008bf1288b4d29d1 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Tue, 7 Jun 2022 11:33:51 -0700 Subject: [PATCH] sys_patch.py: work-around kmutil linking in Ventura --- resources/sys_patch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/sys_patch.py b/resources/sys_patch.py index 8bf2194c9..e7369c7cd 100644 --- a/resources/sys_patch.py +++ b/resources/sys_patch.py @@ -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