Skip to content

Commit

Permalink
Add HW_BID injection to fix boot.efi error
Browse files Browse the repository at this point in the history
Closes #83
  • Loading branch information
khronokernel committed Mar 8, 2021
1 parent 90274ee commit fe107d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Resources/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ def set_smbios(self):

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
Expand Down

0 comments on commit fe107d2

Please sign in to comment.