From fe107d271cbe02a6990ec02094912c03bed0b638 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Mon, 8 Mar 2021 16:35:36 -0700 Subject: [PATCH] Add HW_BID injection to fix boot.efi error Closes https://github.com/dortania/Opencore-Legacy-Patcher/issues/83 --- CHANGELOG.md | 1 + Resources/build.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f87de050a0..640df2a344 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Resources/build.py b/Resources/build.py index 702b3ba8b5..406f31dee8 100644 --- a/Resources/build.py +++ b/Resources/build.py @@ -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