sys_patch: Add T1 support

This commit is contained in:
Mykola Grymalyuk
2023-10-14 22:32:00 -06:00
parent 760db35d15
commit 1aee2e5dfa
13 changed files with 82 additions and 9 deletions

View File

@@ -181,6 +181,9 @@ class GenerateRootPatchSets:
if self.hardware_details["Miscellaneous: PCIe FaceTime Camera"] is True:
required_patches.update({"PCIe FaceTime Camera": all_hardware_patchset["Miscellaneous"]["PCIe FaceTime Camera"]})
if self.hardware_details["Miscellaneous: T1 Security Chip"] is True:
required_patches.update({"T1 Security Chip": all_hardware_patchset["Miscellaneous"]["T1 Security Chip"]})
if required_patches:
host_os_float = float(f"{self.constants.detected_os}.{self.constants.detected_os_minor}")