Skip to content

Commit e2a6d35

Browse files
committed
Fix last
1 parent b3cc808 commit e2a6d35

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

opencore_legacy_patcher/constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,10 @@ def diags_launcher_path(self):
354354
def link_rate_driver_path(self):
355355
return self.payload_path / Path("Drivers/FixPCIeLinkRate.efi")
356356

357+
@property
358+
def apfs_driver_path(self):
359+
return self.payload_path / Path("Drivers/apfs_aligned.efi")
360+
357361
@property
358362
def installer_sh_path(self):
359363
return self.payload_path / Path("Installer.sh")

opencore_legacy_patcher/efi_builder/misc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ def _general_oc_handling(self) -> None:
355355

356356
logging.info("- Adding OpenCanopy GUI")
357357
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
358+
shutil.copy(self.constants.apfs_driver_path, self.constants.drivers_path)
358359
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenCanopy.efi", "UEFI", "Drivers")["Enabled"] = True
359360
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenRuntime.efi", "UEFI", "Drivers")["Enabled"] = True
360361
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenLinuxBoot.efi", "UEFI", "Drivers")["Enabled"] = True

0 commit comments

Comments
 (0)