This commit is contained in:
Dhinak G
2025-12-13 03:12:45 -05:00
parent b3cc808e8d
commit e2a6d35c27
2 changed files with 5 additions and 0 deletions

View File

@@ -354,6 +354,10 @@ class Constants:
def link_rate_driver_path(self):
return self.payload_path / Path("Drivers/FixPCIeLinkRate.efi")
@property
def apfs_driver_path(self):
return self.payload_path / Path("Drivers/apfs_aligned.efi")
@property
def installer_sh_path(self):
return self.payload_path / Path("Installer.sh")

View File

@@ -355,6 +355,7 @@ xw
logging.info("- Adding OpenCanopy GUI")
shutil.copy(self.constants.gui_path, self.constants.oc_folder)
shutil.copy(self.constants.apfs_driver_path, self.constants.drivers_path)
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenCanopy.efi", "UEFI", "Drivers")["Enabled"] = True
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenRuntime.efi", "UEFI", "Drivers")["Enabled"] = True
support.BuildSupport(self.model, self.constants, self.config).get_efi_binary_by_path("OpenLinuxBoot.efi", "UEFI", "Drivers")["Enabled"] = True