mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
sys_patch.py: Fix Metallib logic
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- `OpenCore-Patcher-GUI.app.zip` removed from release
|
- `OpenCore-Patcher-GUI.app.zip` removed from release
|
||||||
- Deprecated in 1.5.0, use `OpenCore-Patcher.pkg` for installation
|
- Deprecated in 1.5.0, use `OpenCore-Patcher.pkg` for installation
|
||||||
- Sync copyright label to 2025
|
- Sync copyright label to 2025
|
||||||
|
- Resolve MetallibSupportPkg failing to be cached on units without Kernel Debug Kit requirements
|
||||||
- Increment binaries:
|
- Increment binaries:
|
||||||
- OpenCorePkg 1.0.4 - release
|
- OpenCorePkg 1.0.4 - release
|
||||||
- Lilu 1.7.0 - release
|
- Lilu 1.7.0 - release
|
||||||
|
|||||||
@@ -100,6 +100,9 @@ class PatchSysVolume:
|
|||||||
|
|
||||||
self.skip_root_kmutil_requirement = not self.hardware_details[HardwarePatchsetSettings.KERNEL_DEBUG_KIT_REQUIRED] if self.constants.detected_os >= os_data.os_data.ventura else False
|
self.skip_root_kmutil_requirement = not self.hardware_details[HardwarePatchsetSettings.KERNEL_DEBUG_KIT_REQUIRED] if self.constants.detected_os >= os_data.os_data.ventura else False
|
||||||
|
|
||||||
|
self.requires_kdk_caching = self.hardware_details[HardwarePatchsetSettings.KERNEL_DEBUG_KIT_REQUIRED] and self.constants.detected_os >= os_data.os_data.ventura
|
||||||
|
self.requires_metallib_caching = self.hardware_details[HardwarePatchsetSettings.METALLIB_SUPPORT_PKG_REQUIRED] and self.constants.detected_os >= os_data.os_data.sequoia
|
||||||
|
|
||||||
self.mount_obj = RootVolumeMount(self.constants.detected_os)
|
self.mount_obj = RootVolumeMount(self.constants.detected_os)
|
||||||
|
|
||||||
|
|
||||||
@@ -345,7 +348,7 @@ class PatchSysVolume:
|
|||||||
|
|
||||||
if self.constants.wxpython_variant is True and self.constants.detected_os >= os_data.os_data.big_sur:
|
if self.constants.wxpython_variant is True and self.constants.detected_os >= os_data.os_data.big_sur:
|
||||||
needs_daemon = False
|
needs_daemon = False
|
||||||
if self.constants.detected_os >= os_data.os_data.ventura and self.skip_root_kmutil_requirement is False:
|
if self.requires_kdk_caching is True or self.requires_metallib_caching is True:
|
||||||
needs_daemon = True
|
needs_daemon = True
|
||||||
InstallAutomaticPatchingServices(self.constants).install_auto_patcher_launch_agent(kdk_caching_needed=needs_daemon)
|
InstallAutomaticPatchingServices(self.constants).install_auto_patcher_launch_agent(kdk_caching_needed=needs_daemon)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user