mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-09-05 09:04:27 +00: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
|
kill_stale_vphone_procs
|
||||||
check_vm_storage_locks
|
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"
|
: > "$DFU_LOG"
|
||||||
echo "[*] Starting DFU boot in background..."
|
echo "[*] Starting DFU boot in background..."
|
||||||
(make boot_dfu >"$DFU_LOG" 2>&1) &
|
(make boot_dfu >"$DFU_LOG" 2>&1) &
|
||||||
|
|||||||
Reference in New Issue
Block a user