Avoid Updating DataHub

Works around hibernation issue
This commit is contained in:
Mykola Grymalyuk
2021-09-29 13:11:06 -06:00
parent 6102bba478
commit cc8bff1e1f

View File

@@ -784,10 +784,12 @@ class BuildOpenCore:
self.config["PlatformInfo"]["SMBIOS"]["BIOSVersion"] = "9999.999.999.999.999"
# Update tables
self.config["PlatformInfo"]["UpdateDataHub"] = True
self.config["PlatformInfo"]["UpdateNVRAM"] = True
self.config["PlatformInfo"]["UpdateSMBIOS"] = True
self.config["UEFI"]["ProtocolOverrides"]["DataHub"] = True
# Updating DataHub breaks hibernation, disabling for time being
# self.config["PlatformInfo"]["UpdateDataHub"] = True
# self.config["UEFI"]["ProtocolOverrides"]["DataHub"] = True
def moderate_serial_patch(self):
if self.constants.custom_cpu_model == 0 or self.constants.custom_cpu_model == 1: