mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Add ExFat support for models missing driver
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# OpenCore Legacy Patcher changelog
|
# OpenCore Legacy Patcher changelog
|
||||||
|
|
||||||
|
## 0.0.22
|
||||||
|
|
||||||
|
- Add ExFat support for models missing driver
|
||||||
|
- Aids BootCamp support for EFI based installs on 2010 and older Macs
|
||||||
|
|
||||||
## 0.0.21
|
## 0.0.21
|
||||||
- Fix botched images in OpenCanopy
|
- Fix botched images in OpenCanopy
|
||||||
- Add support for 3rd party OpenCore usage detection during building
|
- Add support for 3rd party OpenCore usage detection during building
|
||||||
|
|||||||
@@ -95,6 +95,8 @@ class Constants:
|
|||||||
# Drivers
|
# Drivers
|
||||||
@property
|
@property
|
||||||
def nvme_driver_path(self): return self.payload_path / Path("Drivers/NvmExpressDxe.efi")
|
def nvme_driver_path(self): return self.payload_path / Path("Drivers/NvmExpressDxe.efi")
|
||||||
|
@property
|
||||||
|
def exfat_legacy_driver_path(self): return self.payload_path / Path("Drivers/ExFatDxeLegacy.efi")
|
||||||
|
|
||||||
# Kexts
|
# Kexts
|
||||||
@property
|
@property
|
||||||
|
|||||||
@@ -785,6 +785,35 @@ NoRootPatch11 = [
|
|||||||
"Xserve3,1",
|
"Xserve3,1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
NoExFat = [
|
||||||
|
"MacBook4,1",
|
||||||
|
"MacBook5,1",
|
||||||
|
"MacBook5,2",
|
||||||
|
"MacBook6,1",
|
||||||
|
"MacBook7,1",
|
||||||
|
"MacBookAir2,1",
|
||||||
|
"MacBookPro4,1",
|
||||||
|
"MacBookPro5,1",
|
||||||
|
"MacBookPro5,2",
|
||||||
|
"MacBookPro5,3",
|
||||||
|
"MacBookPro5,4",
|
||||||
|
"MacBookPro5,5",
|
||||||
|
"MacBookPro6,1",
|
||||||
|
"MacBookPro6,2",
|
||||||
|
"MacBookPro7,1",
|
||||||
|
"Macmini3,1",
|
||||||
|
"iMac7,1",
|
||||||
|
"iMac8,1",
|
||||||
|
"iMac9,1",
|
||||||
|
"iMac10,1",
|
||||||
|
"iMac11,1",
|
||||||
|
"MacPro3,1",
|
||||||
|
"MacPro4,1",
|
||||||
|
"MacPro5,1",
|
||||||
|
"Xserve3,1",
|
||||||
|
"Dortania1,1"
|
||||||
|
]
|
||||||
|
|
||||||
DeleteNvidiaAccel11 = [
|
DeleteNvidiaAccel11 = [
|
||||||
"AMDRadeonX4000.kext",
|
"AMDRadeonX4000.kext",
|
||||||
"AMDRadeonX4000HWServices.kext",
|
"AMDRadeonX4000HWServices.kext",
|
||||||
|
|||||||
@@ -254,6 +254,13 @@ class BuildOpenCore:
|
|||||||
shutil.rmtree(self.constants.resources_path, onerror=rmtree_handler)
|
shutil.rmtree(self.constants.resources_path, onerror=rmtree_handler)
|
||||||
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
|
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
|
||||||
self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi", "OpenRuntime.efi"]
|
self.config["UEFI"]["Drivers"] = ["OpenCanopy.efi", "OpenRuntime.efi"]
|
||||||
|
# Exfat check
|
||||||
|
if self.model in ModelArray.NoExFat:
|
||||||
|
print("- Adding ExFatDxeLegacy.efi")
|
||||||
|
exfat = "ExFatDxeLegacy.efi"
|
||||||
|
shutil.copy(self.constants.exfat_legacy_driver_path, self.constants.drivers_path)
|
||||||
|
self.config["UEFI"]["Drivers"] += ["ExFatDxeLegacy.efi"]
|
||||||
|
|
||||||
|
|
||||||
# Add UGA to GOP layer
|
# Add UGA to GOP layer
|
||||||
if self.model in ModelArray.UGAtoGOP:
|
if self.model in ModelArray.UGAtoGOP:
|
||||||
|
|||||||
BIN
payloads/Drivers/ExFatDxeLegacy.efi
Normal file
BIN
payloads/Drivers/ExFatDxeLegacy.efi
Normal file
Binary file not shown.
Reference in New Issue
Block a user