mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
Fix build crashing on iMac7,1
This commit is contained in:
@@ -232,7 +232,7 @@ 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")
|
||||||
# iMac7,1 kernel panics with USB map installed, remove for time being until properly debugged
|
# 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":
|
if usb_map_path.exists():
|
||||||
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()
|
||||||
|
|||||||
@@ -764,7 +764,7 @@
|
|||||||
<key>model</key>
|
<key>model</key>
|
||||||
<string>XXerve3,1</string>
|
<string>XXerve3,1</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>iMac7,1</key>
|
<key>#iMac7,1</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
||||||
@@ -3505,7 +3505,7 @@
|
|||||||
<key>Tunnel Endpoint Device Vendor ID</key>
|
<key>Tunnel Endpoint Device Vendor ID</key>
|
||||||
<data>AQAAAA==</data>
|
<data>AQAAAA==</data>
|
||||||
</dict>
|
</dict>
|
||||||
<key>iMac7,1-EHC1</key>
|
<key>#iMac7,1-EHC1</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
||||||
@@ -3568,7 +3568,7 @@
|
|||||||
<key>model</key>
|
<key>model</key>
|
||||||
<string>iXac7,1</string>
|
<string>iXac7,1</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>iMac7,1-EHC2</key>
|
<key>#iMac7,1-EHC2</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
||||||
@@ -5417,7 +5417,7 @@
|
|||||||
<key>model</key>
|
<key>model</key>
|
||||||
<string>Xacmini4,1</string>
|
<string>Xacmini4,1</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>iMac7,1-OHC1</key>
|
<key>#iMac7,1-OHC1</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
||||||
@@ -5459,7 +5459,7 @@
|
|||||||
<key>model</key>
|
<key>model</key>
|
||||||
<string>iXac9,1</string>
|
<string>iXac9,1</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>iMac7,1-OHC2</key>
|
<key>#iMac7,1-OHC2</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user