sys_patch_dict: Sync Patch Names

This commit is contained in:
Mykola Grymalyuk
2022-09-02 10:07:45 -06:00
parent dcd581345a
commit 3779cfcaf6
2 changed files with 8 additions and 8 deletions

View File

@@ -700,7 +700,7 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
}, },
"Audio": { "Audio": {
"Legacy Realtek": { "Legacy Realtek": {
"Display Name": "Audio: Legacy Realtek Audio", "Display Name": "Audio: Legacy Realtek",
"OS Support": { "OS Support": {
"Minimum OS Support": { "Minimum OS Support": {
"OS Major": os_data.os_data.sierra, "OS Major": os_data.os_data.sierra,
@@ -730,7 +730,7 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
}, },
# For Mac Pros with non-UGA/GOP GPUs # For Mac Pros with non-UGA/GOP GPUs
"Legacy Non-GOP": { "Legacy Non-GOP": {
"Display Name": "Audio: Legacy non-GOP Audio", "Display Name": "Audio: Legacy non-GOP",
"OS Support": { "OS Support": {
"Minimum OS Support": { "Minimum OS Support": {
"OS Major": os_data.os_data.mojave, "OS Major": os_data.os_data.mojave,
@@ -749,8 +749,8 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
}, },
}, },
"Networking": { "Networking": {
"Legacy WiFi": { "Legacy Wireless": {
"Display Name": "Networking: Legacy WiFi", "Display Name": "Networking: Legacy Wireless",
"OS Support": { "OS Support": {
"Minimum OS Support": { "Minimum OS Support": {
"OS Major": os_data.os_data.monterey, "OS Major": os_data.os_data.monterey,
@@ -778,8 +778,8 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
}, },
}, },
"Brightness": { "Brightness": {
"Legacy Brightness": { "Legacy Backlight Control": {
"Display Name": "Brightness: Legacy Brightness", "Display Name": "Brightness: Legacy Backlight Control",
"OS Support": { "OS Support": {
"Minimum OS Support": { "Minimum OS Support": {
"OS Major": os_data.os_data.high_sierra, "OS Major": os_data.os_data.high_sierra,

View File

@@ -464,14 +464,14 @@ class detect_root_patch:
required_patches.update({"Monterey GVA": all_hardware_patchset["Graphics"]["Monterey GVA"]}) required_patches.update({"Monterey GVA": all_hardware_patchset["Graphics"]["Monterey GVA"]})
required_patches.update({"AMD Legacy GCN": all_hardware_patchset["Graphics"]["AMD Legacy GCN"]}) required_patches.update({"AMD Legacy GCN": all_hardware_patchset["Graphics"]["AMD Legacy GCN"]})
if hardware_details["Brightness: Legacy Backlight Control"] is True: if hardware_details["Brightness: Legacy Backlight Control"] is True:
required_patches.update({"Legacy Brightness": all_hardware_patchset["Brightness"]["Legacy Brightness"]}) required_patches.update({"Legacy Backlight Control": all_hardware_patchset["Brightness"]["Legacy Backlight Control"]})
if hardware_details["Audio: Legacy Realtek"] is True: if hardware_details["Audio: Legacy Realtek"] is True:
if self.model in ["iMac7,1", "iMac8,1"]: if self.model in ["iMac7,1", "iMac8,1"]:
required_patches.update({"Legacy Realtek": all_hardware_patchset["Audio"]["Legacy Realtek"]}) required_patches.update({"Legacy Realtek": all_hardware_patchset["Audio"]["Legacy Realtek"]})
else: else:
required_patches.update({"Legacy Non-GOP": all_hardware_patchset["Audio"]["Legacy Non-GOP"]}) required_patches.update({"Legacy Non-GOP": all_hardware_patchset["Audio"]["Legacy Non-GOP"]})
if hardware_details["Networking: Legacy Wireless"] is True: if hardware_details["Networking: Legacy Wireless"] is True:
required_patches.update({"Legacy WiFi": all_hardware_patchset["Networking"]["Legacy WiFi"]}) required_patches.update({"Legacy Wireless": all_hardware_patchset["Networking"]["Legacy Wireless"]})
if hardware_details["Miscellaneous: Legacy GMUX"] is True: if hardware_details["Miscellaneous: Legacy GMUX"] is True:
required_patches.update({"Legacy GMUX": all_hardware_patchset["Miscellaneous"]["Legacy GMUX"]}) required_patches.update({"Legacy GMUX": all_hardware_patchset["Miscellaneous"]["Legacy GMUX"]})
if hardware_details["Miscellaneous: Legacy Keyboard Backlight"] is True: if hardware_details["Miscellaneous: Legacy Keyboard Backlight"] is True: