mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +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:
+12
-2
@@ -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.catalina:
|
||||||
if self.constants.detected_os >= os_data.os_data.ventura:
|
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:
|
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:
|
if self.needs_kmutil_exemptions is True:
|
||||||
# When installing to '/Library/Extensions', following args skip kext consent
|
# When installing to '/Library/Extensions', following args skip kext consent
|
||||||
|
|||||||
Reference in New Issue
Block a user