setup_machine: fix ECID mismatch race in DFU recovery wait (#260)

This commit is contained in:
pluginslab
2026-03-31 00:59:36 +01:00
committed by GitHub
parent 5ab5e5b6f8
commit 981f2cfcc9

View File

@@ -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) &