A failed installer step still ends on installation complete #55

Merged
Breadway merged 3 commits from fix/bos-25-installer-critical-steps into main 2026-10-02 14:25:46 +08:00
Owner

Calamares now propagates finalization failures instead of ignoring the shellprocess exit status. Post-install collects failures for the installed kernel, mkinitcpio, GRUB install, grub-mkconfig, generated kernel entry, and UEFI fallback loader. The complete script output is written to /var/log/bos-install.log after the target log mount is established.

Verified with bash -n, shellprocess YAML parsing, git diff --check, and a successful FAST_BUILD=1 ISO build. The build emitted the existing nbd-client initramfs hook warning. The required UEFI and BIOS VM installs, including a deliberately failed grub-install Calamares run, have not been completed.

Closes #25

Calamares now propagates finalization failures instead of ignoring the shellprocess exit status. Post-install collects failures for the installed kernel, mkinitcpio, GRUB install, grub-mkconfig, generated kernel entry, and UEFI fallback loader. The complete script output is written to `/var/log/bos-install.log` after the target log mount is established. Verified with `bash -n`, shellprocess YAML parsing, `git diff --check`, and a successful `FAST_BUILD=1` ISO build. The build emitted the existing `nbd-client` initramfs hook warning. The required UEFI and BIOS VM installs, including a deliberately failed `grub-install` Calamares run, have not been completed. Closes #25
Author
Owner

This PR card tracks BOS-25 / PR #55. Injected-failure and normal UEFI/BIOS acceptance tests are still missing; reviewer found the PR unmergeable. Parent BOS-25 is TODO. Synchronizing card status to TODO.

This PR card tracks BOS-25 / PR #55. Injected-failure and normal UEFI/BIOS acceptance tests are still missing; reviewer found the PR unmergeable. Parent BOS-25 is TODO. Synchronizing card status to TODO.
Merge remote-tracking branch 'origin/main' into HEAD
All checks were successful
Build and publish calamares / calamares (push) Successful in 5m54s
Build and publish powerlevel10k / powerlevel10k (push) Successful in 2m49s
Build and publish calamares / calamares (pull_request) Successful in 3m55s
6478e5fe76
# Conflicts:
#	CHANGELOG.md
Author
Owner

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.

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.
# Conflicts:
#	CHANGELOG.md
#	iso/airootfs/etc/calamares/post-install.sh
Sign in to join this conversation.
No description provided.