Repository navigation
os: one boot flow - a countdown on the choice line, live status while DHCP and Lemonade come up (#705) - #721
Conversation
…HCP and Lemonade come up (#705)
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
At cda97738 (own diff: os/mini/init.sh +49 −10).
Checked statically, and the one thing in it that could have bitten is explicitly fixed:
say()ordering. It moves to line 47, and its first use is line 55 — so the failure its own comment records ("it used to sit below the kernel link line, so the console lost that line tosay: not found") is fixed rather than re-introduced. That was the only structural risk in the hunk.- Countdown.
i=12,while [ "$i" -gt 0 ],repaint_choice,read -r -t 1 -n 1 c,i=$((i-1)), thenunset -f repaint_choice— the decrement and the cleanup are both present, andread -r -t 1was already used by the old loop, so busybox-tsupport is proven in this image rather than newly assumed. - Gate strings intact:
grep -c "LIVE: runs from RAM" os/mini/init.sh→ 1, so the QEMU gate's serial assertion still exists at this head. bash -nclean.
The per-wait reporting (network: waiting for DHCP on <if> (state) then network: <addr|no address yet> on <if>, and say writing to console, tty1 and /data/boot.log) is the right fix for "no way to tell a wait from a hang": the same line lands in all three places the c18 dry run had to reconcile by hand.
Not verified, deferred deliberately: the behaviour itself — repaint rate, that a keypress beats the countdown, that the DHCP lines appear on ttyS0 — needs the QEMU gate, and I am not starting a second QEMU while another lane's os3i VM is live on this box. Per the new memory rule that run belongs in a systemd-run --user -p MemoryMax= unit, one at a time. If you want it gated before merge rather than after, say so and I will queue it behind the running VM.
tprs-ready applied. Merge order note: this sits on #720, which is CHANGES on a one-line hrx-system pin fix, so it cannot actually land until that is amended.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Fixes #705. The c18 dry run showed a 12 s chooser, then a blank "starting" while DHCP and lemond came up.
The selection timer is now on the choice line itself ("choice [1] starts in 12 s", any key picks), so the
chooser is one screen. Each wait then says what it is:
network: waiting for DHCP on eth0->network: <ip> on eth0,Lemonade: starting->Lemonade: up on http://<ip>:13305/(a real probe, 20 s), thenengine: HRX0 ready(allama-server --list-devicesprobe). All of it goes to the VT, the serial log and /data/boot.log.PR-READY.