mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-04-05 04:59:05 +08:00
setup_machine: fix ECID mismatch race in DFU recovery wait (#260)
This commit is contained in:
@@ -733,6 +733,10 @@ start_boot_dfu() {
|
||||
kill_stale_vphone_procs
|
||||
check_vm_storage_locks
|
||||
|
||||
# Remove stale prediction file so load_device_identity waits for the fresh
|
||||
# one written by this boot, avoiding an ECID mismatch race.
|
||||
rm -f "${VM_DIR_ABS}/udid-prediction.txt"
|
||||
|
||||
: > "$DFU_LOG"
|
||||
echo "[*] Starting DFU boot in background..."
|
||||
(make boot_dfu >"$DFU_LOG" 2>&1) &
|
||||
|
||||
Reference in New Issue
Block a user