mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
Fix USB kernel panics on iMac7,1
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
- Add better kmutil crash handling
|
- Add better kmutil crash handling
|
||||||
- Fix build crashing when no wifi card is present
|
- Fix build crashing when no wifi card is present
|
||||||
- Allow Legacy Acceleration Patches on Mac Pros and Xserves
|
- Allow Legacy Acceleration Patches on Mac Pros and Xserves
|
||||||
|
- Fix USB kernel panics on iMac7,1
|
||||||
|
|
||||||
## 0.1.0
|
## 0.1.0
|
||||||
- Fix crash on iMacs with Metal GPUs
|
- Fix crash on iMacs with Metal GPUs
|
||||||
|
|||||||
+2
-1
@@ -231,7 +231,8 @@ class BuildOpenCore:
|
|||||||
|
|
||||||
# USB Map
|
# USB Map
|
||||||
usb_map_path = Path(self.constants.plist_folder_path) / Path("AppleUSBMaps/Info.plist")
|
usb_map_path = Path(self.constants.plist_folder_path) / Path("AppleUSBMaps/Info.plist")
|
||||||
if usb_map_path.exists():
|
# iMac7,1 kernel panics with USB map installed, remove for time being until properly debugged
|
||||||
|
if usb_map_path.exists() and self.model != "iMac7,1":
|
||||||
print(f"- Adding USB-Map.kext")
|
print(f"- Adding USB-Map.kext")
|
||||||
Path(self.constants.map_kext_folder).mkdir()
|
Path(self.constants.map_kext_folder).mkdir()
|
||||||
Path(self.constants.map_contents_folder).mkdir()
|
Path(self.constants.map_contents_folder).mkdir()
|
||||||
|
|||||||
Reference in New Issue
Block a user