Repository navigation
Accept aura as the Aurora boot provider - #52
Conversation
|
Hardware confirmation from a fresh official edge installation on MacBookAir10,1 / J313 on 2026-10-22:
A small local equivalent change selecting the installed This PR's explicit exactly-one-provider selection is stronger than our initial local patch: it also rejects ambiguity in I checked the PR's current CI: all four listed checks passed. Thanks for covering the provider transition without weakening the artifact checks. |
scottjones
left a comment
There was a problem hiding this comment.
Thanks for this, and welcome! It's a real bug and a clean fix. Approving.
The bug is live on current images. The 10-20 edge image (ba06efa1974e-4a05573a4503) ships aura 0.1.0.r20261014-2 and no m1n1-aurora, and its omarchy-mac-boot (1e4c6e2) maps linux-aurora only to m1n1-aurora. Since update-verify runs boot-check --boot-chain, every omarchy update on those installs ends "not finished".
One more impact the description doesn't mention: snapshot restores are refused too. omarchy-mac-snapshot-check:281 runs the same --boot-chain check before a Limine restore, and owner-boot-chain doesn't apply there (mac-manual 03-updates.md:44), so there's no way to opt out.
What we checked:
- It fails closed. Zero providers or two providers both fail.
- The chosen exact name is what goes into the
pacman -Qkk,pacman -Qlqandm1n1.binownership checks. auraandm1n1-auroraship the same/usr/lib/asahi-boot/m1n1.bin, so the renamed fixture is a fair test.- An unrelated package named
auracan't pass. It either trips the two-provider check or failsm1n1.binownership. - The new tests fail with the fix reverted.
Nits, not blocking:
- The
auracases only run in full mode, not--boot-chain. We tried that case locally and it passes, so this is just coverage. - There's no test for
linux-asahiwith anaurarival.
For later, not this PR: a few places still hard-code m1n1-aurora or uboot-asahi: omarchy-mac-snapshot-check:157 (boot_packages, only affects the refusal message), tools/release/mac-release:70, tools/release/mac-aurora-pin:424, tools/package-resolution/platforms/aarch64-apple/platform and tools/hardware/mac-check:73.
Picks up omacom/omarchy-mac-pkgs#52, which accepts aura as the linux-aurora bootloader provider. Current Mac images ship aura instead of m1n1-aurora, so the boot check failed every omarchy update and snapshot restore.
Summary
auraas the currentlinux-aurorabootloader provider while retaining support for legacym1n1-aurorainstallsaura, plus the dual-provider rejection pathProblem
Current public Mac images install
aura. Its package provides and conflicts withm1n1-aurora, and owns/usr/lib/asahi-boot/m1n1.bin, butpacman -Qqreports its exact package name asaura.omarchy-apple-silicon-boot-checkintentionally compares exact installed package names. It currently mapslinux-auroraonly tom1n1-aurora, so a fresh official installation failsupdate-verifywith:The boot artifacts can be valid even though the exact-name check rejects the provider shipped in the image.
Safety
This does not weaken the later package-mtree, ownership, kernel, initramfs, device-tree, ESP, m1n1, U-Boot, or Limine checks. It selects the one installed supported provider and passes that exact package name into the existing verification. Zero or multiple matching providers remain fatal.
Testing
aura-basedlinux-aurorainstallation, both auto-detected and explicitly namedm1n1-auroragit diff --cached --checkThe full package suite requires the repository's Linux/Bash 5 CI environment and will run on this pull request.