Replaces unreliable nohup-based remote flash with staged approach: 1. remote_prepare_flash: Upload image + store options 2. remote_confirm_flash: Execute sysupgrade directly 3. remote_flash_status: Check flash state 4. remote_cancel_flash: Abort pending flash Key fixes: - Use /tmp for firmware (large tmpfs vs small rootfs) - Direct sysupgrade execution (no nohup, works on OpenWrt) - Proper dbclient SSH without unavailable commands - Background job with & instead of nohup Tested: x86_64 VM successfully flashed from 24.10.5 to 24.10.0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| secubox | ||