sys_patch: Resolve PCIe Camera on 14.1

This commit is contained in:
Mykola Grymalyuk
2023-10-14 21:55:29 -06:00
parent af57596559
commit 760db35d15
4 changed files with 29 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ class SystemPatchDictionary():
Patchset Schema:
Supports 6 types of higher level keys:
Supports following types of higher level keys:
- OS Support: Supported OSes by patches
- Minimum OS Support: Minimum supported OS version
- OS Major: Major XNU Kernel version
@@ -30,6 +30,9 @@ class SystemPatchDictionary():
- Remove: Files to remove
- Location:
- File (array: [ "File" ])
- Remove Non-Root: Files to remove from data partition
- Location:
- File (array: [ "File" ])
- Processes: Additional processes to run
- Process (dict: { "Process": "Requires Root" })
- Display Name: User-friendly name (string, "" if user-friendly name is not required)
@@ -1287,6 +1290,7 @@ class SystemPatchDictionary():
},
},
},
# With macOS 14.1, daemon won't load if not on root volume
"PCIe FaceTime Camera": {
"Display Name": "Miscellaneous: PCIe FaceTime Camera",
"OS Support": {
@@ -1299,14 +1303,22 @@ class SystemPatchDictionary():
"OS Minor": 99
},
},
"Install Non-Root": {
"/Library/CoreMediaIO/Plug-Ins/DAL": {
"Install": {
"/System/Library/CoreMediaIO/Plug-Ins/DAL": {
"AppleCamera.plugin": "14.0 Beta 1"
},
"/Library/LaunchDaemons": {
"/System/Library/LaunchDaemons": {
"com.apple.cmio.AppleCameraAssistant.plist": "14.0 Beta 1"
},
},
"Remove Non-Root": {
"/Library/CoreMediaIO/Plug-Ins/DAL": [
"AppleCamera.plugin"
],
"/Library/LaunchDaemons": [
"com.apple.cmio.AppleCameraAssistant.plist"
],
}
},
},
}