Sources
- Stop the boot loader switch from looping on reboots
- Stop the boot loader switch from looping on reboots (#21663)
- review-comment by
greptile-apps[bot]
- review-comment by
greptile-apps[bot]
- review-comment by
greptile-apps[bot]
- review-comment by
dhh
- review-comment by
dhh
- review-comment by
dhh
- issue-comment by
omarchybot
- Add Setup > Security > Secure Boot guided flow (#21479)
- Fold the boot loader switch into Setup > Security > Secure Boot (#21645)
dhh opened and merged omacom/omarchy#21663 into quattro within about 17 minutes. It fixes a loop in the boot loader switch. The setup terminal reopened while the finishing step was still running pacman and offered another reboot. That reboot killed pacman and left its lock file behind, and every finish after that failed on the stale lock. Now a reboot waits up to ten minutes for the finishing service, the terminal offers a reboot only when one actually helps, and a failed finish can be retried in place. A lock left by a power loss is pointed out for the user to remove. The switch reports in the setup terminal instead of through notifications. The description says the fix has not yet been run against a real switch from start to finish.
greptile-apps[bot] raised three findings. A cleanup step could delete a live pacman lock (omacom/omarchy#21663:discussion_r4802004145). An old notice could bring the reboot offer back (omacom/omarchy#21663:discussion_r4802004125). And a switch run through sudo queued its follow-up for root instead of the desktop user (omacom/omarchy#21663:discussion_r4802004162).
dhh accepted all three (omacom/omarchy#21663:discussion_r4802038976, omacom/omarchy#21663:discussion_r4802038546, omacom/omarchy#21663:discussion_r4802039482). According to the merged commit omacom/omarchy@5ca317c2c66b, the final version removes no lock automatically and has the reboot wait for pacman instead.
omarchybot recommended holding the PR until the maintainer decided whether it is a bug fix or an enhancement (omacom/omarchy#21663:issuecomment-7416440588);
dhh merged it a few minutes later.
The fix builds on two other changes merged into quattro the same day. emirb's omacom/omarchy@2b1eb23c3f14 adds a guided Setup > Security > Secure Boot flow. It covers switching away from Limine, clearing firmware keys, enrolling the Omarchy Root CA, and showing BitLocker prompts. omacom/omarchy@df5acf711376, attributed to
omarchybot, moves the boot loader switch into that flow and retires the separate Update > Secure Bootloader entry.
