489dd2830c1ab584f245e5b53e217d7307a6a2c4
On hosts where the boot medium is BMC/IPMI virtual media, the ~2.8 GB squashfs read often drops mid-transfer: rsync dies with "Input/output error (5)", every file "has vanished", and live-boot moves the partial RAM copy over the medium, ending the boot with "No supported filesystem images found at /live". Add hook 9013-toram-retry, which patches live-boot's 9990-toram-todisk.sh so the whole-medium copy runs in a retry loop: up to 8 attempts with a geometrically growing pause (15s -> 900s cap), unmounting/waiting/remounting the medium between tries and honouring rsync's exit code (upstream ignores it). rsync resumes from where it stopped, so a retry needing only the tail finishes fast. Verified against live-boot 1:20230131+deb12u1: substitution applies, sh -n is clean, hook is idempotent. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018JA6Cj84yxUfk8N3ppw6mr
Description
No description provided
136 MiB
Languages
Go
85.3%
Shell
12%
C++
2.4%
C
0.2%