mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
Add HW_BID injection to fix boot.efi error
Closes https://github.com/dortania/Opencore-Legacy-Patcher/issues/83
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Add user-configurable OpenCore DEBUG builds
|
- Add user-configurable OpenCore DEBUG builds
|
||||||
- Add user-configurable Wifi and GPU patches
|
- Add user-configurable Wifi and GPU patches
|
||||||
- Fix ThirdPartyDrives model detection
|
- Fix ThirdPartyDrives model detection
|
||||||
|
- Add HW_BID injection to fix boot.efi error
|
||||||
|
|
||||||
## 0.0.14
|
## 0.0.14
|
||||||
- Enable ThirdPartyDrives to aid with hibernation on 3rd party SATA drives
|
- Enable ThirdPartyDrives to aid with hibernation on 3rd party SATA drives
|
||||||
|
|||||||
@@ -282,7 +282,9 @@ class BuildOpenCore:
|
|||||||
|
|
||||||
if smbios_mod in {"y", "Y", "yes", "Yes"}:
|
if smbios_mod in {"y", "Y", "yes", "Yes"}:
|
||||||
spoofed_model = self.model
|
spoofed_model = self.model
|
||||||
|
self.config["PlatformInfo"]["PlatformNVRAM"]["BID"] = spoofed_board
|
||||||
self.config["PlatformInfo"]["SMBIOS"]["BoardProduct"] = spoofed_board
|
self.config["PlatformInfo"]["SMBIOS"]["BoardProduct"] = spoofed_board
|
||||||
|
self.config["PlatformInfo"]["UpdateNVRAM"] = True
|
||||||
elif smbios_mod in {"n", "N", "no", "No"}:
|
elif smbios_mod in {"n", "N", "no", "No"}:
|
||||||
self.config["PlatformInfo"]["Automatic"] = True
|
self.config["PlatformInfo"]["Automatic"] = True
|
||||||
self.config["PlatformInfo"]["UpdateDataHub"] = True
|
self.config["PlatformInfo"]["UpdateDataHub"] = True
|
||||||
|
|||||||
Reference in New Issue
Block a user