misc.py: Ensure spoofed models with SBM get access to VMM

This commit is contained in:
Mykola Grymalyuk
2023-07-16 13:26:04 -06:00
parent f973817819
commit e3fa2e857f

View File

@@ -122,7 +122,7 @@ class BuildMiscellaneous:
# Alternative approach to the kern.hv_vmm_present patch
# Dynamically sets the property to 1 if software update/installer is detected
# Always enabled in installers/recovery environments
if self.constants.allow_oc_everywhere is False and self.constants.serial_settings == "None":
if self.constants.allow_oc_everywhere is False and (self.constants.serial_settings == "None" or self.constants.secure_status is False):
re_patch_args.append("sbvmm")
# Resolve CoreGraphics.framework crashing on Ivy Bridge in macOS 13.3+