build.py: Drop manual Root Hash Patching

This commit is contained in:
Mykola Grymalyuk
2022-09-27 07:20:05 -06:00
parent 407ed9c4cd
commit 1d821b993b
5 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -1072,9 +1072,8 @@ class BuildOpenCore:
# Lets us check in sys_patch.py if config supports FileVault
self.config["NVRAM"]["Add"]["4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102"]["OCLP-Settings"] += " -allow_fv"
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] <= cpu_data.cpu_data.ivy_bridge.value:
print("- Enabling Rosetta Cryptex support in Ventura")
self.enable_kext("CryptexFixup.kext", self.constants.cryptexfixup_version, self.constants.cryptexfixup_path)
print("- Allowing swapped dyld shared cache in Ventura")
self.get_item_by_kv(self.config["Kernel"]["Patch"], "Comment", "Disable Root Hash validation")["Enabled"] = True
if self.constants.disable_msr_power_ctl is True:
print("- Disabling Firmware Throttling")
if smbios_data.smbios_dictionary[self.model]["CPU Generation"] >= cpu_data.cpu_data.nehalem.value: