A failed installer step still ends on "installation complete" #25
Labels
No labels
P0
P1
P2
P3
audio
bakery
boot
breadbug
bug
build
ci
dependencies
design
disk
docs
encryption
final
firewall
graphics
hardware
idle
installer
keybinds
nvidia
packages
phase-1
polish
recovery
reliability
reproducibility
secure-boot
security
shell
signing
snapshots
supply-chain
swap
tech-debt
theming
ux
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Breadway/bos#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
modules/shellprocess.confruns"-/usr/bin/bash /etc/calamares/post-install.sh". The leading-makes Calamares ignore the exit status, and the script deliberately avoidsset -e. Boot-critical steps (mkinitcpio -P, bothgrub-installcalls,grub-mkconfig, the snapper config) onlyecho "WARN: ...". A failed bootloader install still shows the success screen.Where
iso/airootfs/etc/calamares/modules/shellprocess.confline 10iso/airootfs/etc/calamares/post-install.shlines 179, 197-220, 360-376Fix
mkinitcpio -P, at least one successfulgrub-install,grub-mkconfig,/boot/grub/grub.cfgexists and referencesvmlinuz-linux, the ESP holdsEFI/BOOT/BOOTX64.EFI(UEFI).CRITICAL_FAILEDarray. At the end, print them andexit 1if the array isn't empty.-prefix, so Calamares shows its error page./var/log/bos-install.logon the target.Acceptance
grub-install(e.g. unmount/boot/efibefore it runs). Calamares shows an error, not the finished page.Source: BOS v0.6.2 source review (tag dated 2026-09-19); paths and line numbers refer to that tree. Read AGENTS.md first. One issue per branch/PR, match existing style. Verify with
FAST_BUILD=1 sudo ./build-local.shplus UEFI and BIOS VM installs. Add a CHANGELOG[Unreleased]entry.PR: #55
Post-install now collects boot-critical failure messages, keeps attempting remaining setup, writes full output to
/var/log/bos-install.log, and exits non-zero so Calamares shows its error page.bash -n, shellprocess YAML parsing,git diff --check, and the FAST_BUILD ISO build passed. The build reported the existingnbd-clientinitramfs hook warning.Outstanding acceptance checks: a normal UEFI VM install, a normal BIOS VM install, and a UEFI install with
grub-installdeliberately failing to confirm Calamares shows the error page. These GUI installer checks are not yet run, so leaving BOS-25 in DOING.Independent review of PR #55 found the error-reporting changes in place, but the required injected grub-install failure and successful UEFI/BIOS installation checks have not run. Forgejo reports the PR is not mergeable. No VM validation is currently active, so returning BOS-25 to TODO.
Updated existing PR #55 with current
origin/main(5ae8040), preserving both the installer failure and main changelog entries. Head is6478e5fe762f5a3166eb0158a7735f5e97b35ad2.bash -n, static critical-failure wiring checks, and PR-diff whitespace checks pass. BOS has no ordinary-push CI configured. A normal UEFI install, a normal BIOS install, and the injectedgrub-installfailure page are still unverified. Root directed no further guest input and no additional VM, so this acceptance cannot be completed in the current run. BOS-25 remains TODO pending those checks.PR #55 has the implementation and static failure-path checks recorded on the rebased head. A normal UEFI install, normal BIOS install, and injected grub-install failure page remain unverified; BOS has no ordinary push CI. Moving the implementation to REVIEW for the requested handoff. Do not treat as verified or done until those acceptance checks are recorded.