Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Merge pull request #708 from guoPhineas/fix/preboot-identity-guest-update

Jacky4f18540d9335
diff --cc VPhoneExecutable/VPhoneCommand/VPhoneCommand/Firmware/VPhoneCustomFirmwareInstaller.swift
index d6df9578,4f9741d4..7dc24966
--- a/VPhoneExecutable/VPhoneCommand/VPhoneCommand/Firmware/VPhoneCustomFirmwareInstaller.swift
+++ b/VPhoneExecutable/VPhoneCommand/VPhoneCommand/Firmware/VPhoneCustomFirmwareInstaller.swift
@@@ -465,10 -424,10 +463,11 @@@ struct VPhoneCustomFirmwareInstaller
plan: plan,
priorGuest: priorGuest,
guestDevice: device,
- includeIdentity: mode == .full,
+ includeIdentity: mode == .full
+ || plan?.isEnabled(FirmwareGuestIdentityPatchSet.prebootDeviceTreeIdentity) == true,
buildVersion: buildVersion,
boardDeviceTree: boardDeviceTree,
+ otaRestore: isOTAUpdate ? restore : nil,
))
// Selected patches this guest has nothing for, so the receipt does not
// report them as missing forever: the board audio repair on an