Add HW_BID injection to fix boot.efi error

Closes https://github.com/dortania/Opencore-Legacy-Patcher/issues/83
This commit is contained in:
Mykola Grymalyuk
2021-03-08 16:35:36 -07:00
parent 90274eef33
commit fe107d271c
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- Add user-configurable OpenCore DEBUG builds
- Add user-configurable Wifi and GPU patches
- Fix ThirdPartyDrives model detection
- Add HW_BID injection to fix boot.efi error
## 0.0.14
- Enable ThirdPartyDrives to aid with hibernation on 3rd party SATA drives

View File

@@ -282,7 +282,9 @@ class BuildOpenCore:
if smbios_mod in {"y", "Y", "yes", "Yes"}:
spoofed_model = self.model
self.config["PlatformInfo"]["PlatformNVRAM"]["BID"] = spoofed_board
self.config["PlatformInfo"]["SMBIOS"]["BoardProduct"] = spoofed_board
self.config["PlatformInfo"]["UpdateNVRAM"] = True
elif smbios_mod in {"n", "N", "no", "No"}:
self.config["PlatformInfo"]["Automatic"] = True
self.config["PlatformInfo"]["UpdateDataHub"] = True