Fix missing SSDT-CPBG patch

This commit is contained in:
Mykola Grymalyuk
2020-12-06 09:01:25 -07:00
parent dc7560b142
commit 59ac0c3fec
2 changed files with 9 additions and 0 deletions

View File

@@ -212,6 +212,14 @@ def BuildEFI():
"<true/><!--VoodooHDA-->"
)
if current_model in ModelArray.pciSSDT:
print("- Adding SSDT-CPBG")
copy(Versions.pci_ssdt_path, Versions.acpi_path_build)
Versions.plist_data = Versions.plist_data.replace(
"<false/><!--SSDT-CPBG-->",
"<true/><!--SSDT-CPBG-->"
)
usb_map_path = os.path.join(Versions.current_path, "payloads/Kexts/Maps/Zip/" "USB-Map-%s.zip" % current_model)
if os.path.exists(usb_map_path):
print("- Adding USB Map for %s" % current_model)