mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 20:58:21 +10:00
sys_patch.py: Add extra kmutil handling
Since KDKs are installed in Ventura, development KC would be generated by kmutil. For OCLP users, release builds are ideal
This commit is contained in:
@@ -147,9 +147,19 @@ class PatchSysVolume:
|
||||
|
||||
if self.constants.detected_os > os_data.os_data.catalina:
|
||||
if self.constants.detected_os >= os_data.os_data.ventura:
|
||||
args = ["kmutil", "create", "--volume-root", self.mount_location, "--update-all"]
|
||||
args = [
|
||||
"kmutil", "create",
|
||||
"--volume-root", self.mount_location,
|
||||
"--update-all",
|
||||
"--allow-missing-kdk",
|
||||
"--variant-suffix", "release"
|
||||
]
|
||||
else:
|
||||
args = ["kmutil", "install", "--volume-root", self.mount_location, "--update-all"]
|
||||
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