Skip to content

Take the Apple Silicon packages from Omarchy instead of Asahi ALARM - #19261

Merged
maralcbr merged 5 commits into
quattrofrom
omacom/drop-asahi-alarm-repo
Dec 1, 2026
Merged

maralcbr merged 5 commits into
quattrofrom
omacom/drop-asahi-alarm-repo

Conversation

@maralcbr

@maralcbr maralcbr commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Apple Silicon Macs stop using the asahi-alarm repository. Every package they took from it is now built from source in omacom/omarchy-pkgs and published to [omarchy]:

Packages that keep their name use asahi-alarm's pkgver with a higher pkgrel, so pacman switches them over in a normal upgrade.

What changes

  • Pacman templates. default/pacman/aarch64-apple/pacman-{edge,rc,stable}.conf lose [asahi-alarm]. The order is now [omarchy] [core] [extra] [alarm], and pacman-templates-test.sh asserts it. New installs get these templates, and a channel change or omarchy-refresh-pacman writes them.
  • Package list. install/omarchy-aarch64-apple.packages names aurora-bless. asahi-bless only resolved to it through a provide, and picked asahi-alarm's asahi-bless while that repository was configured.
  • Keyring test. update-keyring-test.sh uses example-keyring as fixture data in place of asahi-alarm-keyring.
  • Docs and manual. These stop naming Asahi ALARM:
    • the Apple repository order and per-channel note in docs/update-process.md
    • the keyrings note in docs/file-layout.md
    • the security chapter, manual/48-security.md, in English only, as docs/i18n.md says; the translation sync follows

Why there's no migration here

Installed Macs are cleaned up by omarchy-mac 0.2.8 rather than by an Omarchy migration (omarchy-mac-pkgs#155, released through its own release/omarchy-mac-0.2.8 PR).

That release adds omarchy-mac-drop-asahi-alarm, which runs at boot and after every pacman transaction:

  • It removes [asahi-alarm] from the live pacman.conf.
  • It removes asahi-alarm-keyring.
  • It deletes key 12CE6799A94A3F1B5DDFFE88F576553597FB8FEB.
  • It installs and upgrades nothing, because the update that brought it already took Omarchy's builds.
  • It does the cleanup again if an older template writes [asahi-alarm] back.

A migration here would have to wait while a channel lacks the replacement packages. A waiting migration blocks every later migration and skips omarchy-update-boot after the packages have already upgraded. omarchy-mac 0.2.8 reaches a channel only together with those packages, so the helper never waits for them.

Spec decisions this implements

From the asahi import spec, decided 2026-11-17:

  1. The end state is zero asahi-alarm dependency, with no fallback repository.
  2. Asahi-branded tools are renamed aurora-* with provides/conflicts/replaces. Generic projects keep their names.
  3. Everything is built from source on Omarchy's builders, and asahi-alarm binaries are never mirrored.
  4. Same-name packages use asahi-alarm's pkgver with a higher pkgrel, so installed Macs switch cleanly.
  5. Removing the repository comes last, in its own PR set (this one and the PRs below).

Merge gate

One merge ships all three templates to edge at once, through omarchy-dev and omarchy-settings-dev. omarchy-channel-set then uses them for whichever channel a Mac switches to. So this PR merges only once edge and rc each carry in [omarchy]:

  • the full import set: aurora-scripts, aurora-fwextract, lzfse, speakersafetyd, bankstown, triforce-lv2, widevine, muvm and fex-emu (done on both)
  • the keyring-free omarchy-mac 0.2.8 (omarchy-mac-pkgs#155 plus its release PR)
  • a keyring-free omarchy-mac-boot newer than 20261123-1, re-pinned in omarchy-pkgs#2953

Checks to pass before merge, all without --assume-installed:

  • the Apple default set resolves on edge
  • the Apple default set resolves on rc
  • an edge → rc switch works from a cleaned Mac

Stable stays restricted until it carries the same set. A Mac that 0.2.8 has cleaned no longer trusts asahi-alarm's key. Switching it to stable downgrades to stable's omarchy-mac 0.2.3-2, which needs asahi-alarm-keyring, and fails whether or not this PR has merged. To recover, rerun omarchy-channel-set with the channel the Mac came from. The 0.2.8 release notes say the same.

Related PRs in the set:

Evidence

Repositories on 2026-11-28:

Channel Imports in [omarchy] omarchy-mac omarchy-mac-boot
edge 9/9 0.2.7-2 (needs the keyring) 20261123-1 (needs the keyring)
rc 9/9 0.2.7-2 (needs the keyring) 20261123-1 (needs the keyring)
stable 0/9 0.2.3-2 (needs the keyring) 20261104-1 (needs the keyring)

Edge and rc carry aurora-scripts 20261023-2, aurora-fwextract 0.9.2-2, lzfse 1.0-2, speakersafetyd 2.0.1-2, bankstown 1.1.0-3, triforce-lv2 0.3.2-2, widevine 4.10.2891.0-4, muvm 0.7.0-2, fex-emu 2604-2 and aurora-bless 0.4.4.aurora2-1. omarchy-mac and omarchy-mac-boot are the only packages still waiting on the gate.

Tests. I ran these on this branch rebased onto quattro cafb6981b, in an Arch Linux ARM container as a non-root user:

  • pacman-templates-test.sh 12/12
  • update-keyring-test.sh 16/16
  • platform-packages-test.sh 12/12
  • channel-test.sh 36/36
  • channel-switch-test.sh 19/19
  • i18n-test.sh: every manual and catalog check up to its git-only tail

The earlier CI runs (test, i18n-check) passed on 2026-11-18 at 04d3ee0, before this rebase.

Not covered here

  • Steam's FEX packages. fex-emu-rootfs-arch and mesa-fex-emu-overlay-*, which asahi-alarm's steam depends on, exist only in asahi-alarm. An ordinary update keeps asahi-alarm's steam 20241231-4, which sorts above Omarchy's 1.0.0.87.
    • A channel switch (-Syyuu) can move it to Omarchy's native ARM Steam. That was already possible, since [omarchy] came first.
    • Once that happens, the FEX rootfs and overlays can become orphans that the follow-on update removes.
    • The helper reports the Steam case, along with the switch pacman -S omarchy/steam.
  • Provides without replaces. aurora-audio, alsa-ucm-conf-aurora and aurora-bless provide the asahi names but don't replaces= them.
    • An installed asahi-bless survives ordinary updates. omarchy-reinstall-pkgs swaps it, and automatic conversion would belong to the aurora-bless package.
    • Image-installed Macs ship the aurora builds, so they're unaffected.

Omarchy now builds every package Macs took from [asahi-alarm]: aurora-scripts
and aurora-fwextract replace asahi-scripts and asahi-fwextract, and lzfse,
speakersafetyd, bankstown, triforce-lv2, widevine, muvm and fex-emu are built
at a higher pkgrel. The Apple Silicon templates stop listing the repository.

The migration moves installed Macs over once per machine. While the
repository is still configured it checks that [omarchy] carries every
installed package's build, and stays pending with nothing changed when it
doesn't. It then drops the section with a backup, upgrades, names anything
only asahi-alarm carried, and removes asahi-alarm-keyring and its key once
nothing requires the keyring.
asahi-bless only resolved to aurora-bless through its provide, and picked
asahi-alarm's asahi-bless while that repository was configured.
A migration that waits for a channel's packages blocks every later
migration and the boot update behind it. omarchy-mac 0.2.7 removes the
repository, keyring and key itself, and it reaches a channel only together
with the packages that replace asahi-alarm's.
The Apple templates no longer carry [asahi-alarm], so the repository order, the per-channel note and the security chapter stop naming it. The keyring note covers the default packages, since an installed Mac can keep foreign ones.
@maralcbr

Copy link
Copy Markdown
Member Author

Merge gate: all three checks pass (2026-11-29, head d47ae9f)

Edge and rc now both carry the full import set, the keyring-free omarchy-mac 0.2.9-2 and omarchy-mac-boot 20261129-2 (omarchy-pkgs#2953, promoted to rc in this run). None of the three checks used --assume-installed.

1–2. The Apple default set resolves on edge and rc. I ran omarchy-pkg-defaults aarch64-apple (185 names) through pacman -Sp against this branch's pacman-edge.conf and pacman-rc.conf, from an empty db in an Arch Linux ARM container:

Channel Repos Exit Resolved omarchy-mac omarchy-mac-boot aura asahi-*
edge omarchy core extra alarm 0 883 0.2.9-2 20261129-2 1.0.0b17.r20261129-1 0
rc omarchy core extra alarm 0 883 0.2.9-2 20261129-2 1.0.0b17.r20261129-1 0

3. An edge → rc switch from a cleaned Mac works.

  • Mac: m4pro14 (J614s), on edge and cleaned by omarchy-mac's helper: no [asahi-alarm], no keyring, no key 12CE6799….
  • Templates: I put this branch's three templates in place under /usr/share/omarchy/default/pacman/aarch64-apple/, then ran omarchy-channel-set rc.
  • Switch: it exited 0. 43 packages downgraded to rc's builds, and omarchy-dev/omarchy-settings-dev were replaced by omarchy/omarchy-settings 4.6.0rc1-2.
  • After the switch: pacman.conf reads [omarchy] [core] [extra] [alarm]. The keyring and key stayed gone and no asahi-* package came back.
  • After reboot: Stage 2 is 1.0.0b17-g36b6f2bd on kernel 7.3.0-1-1.
  • rc → edge: switching back with the same templates installed every edge package and kept the cleanup; the final omarchy-update -y step needed a re-run, as noted below. After reboot the Mac is on Stage 2 b17 and kernel 7.3.0-1-3, with the lab baseline passing.

Found on the way, not caused by this PR:

  • The login screen breaks on edge → rc, on any arch.
    • Cause: edge's greetd login (omarchy#20404) writes /etc/greetd/config.toml with service = "omarchy-login", and only edge's omarchy-settings-dev ships /etc/pam.d/omarchy-login. rc's omarchy-settings 4.6.0rc1-2 drops that PAM file but leaves the config.
    • Result: after the switch greetd exits with PAM 'omarchy-login' service missing and there's no login screen.
    • Recovery: switching back to edge restores it.
    • It goes away once Replace Plymouth with a continuous QML unlock+splash #20404 reaches rc, or if omarchy-channel-set rewrites the greetd config when the PAM service is missing.
  • The rc → edge switch's final omarchy-update step stops with no login session. It reported Refusing to use an unsafe update lock directory: /run/user/1000 because greetd was down, so nobody was logged in and that directory didn't exist. All edge packages were already installed by then. Running omarchy-update -y again without XDG_RUNTIME_DIR finished cleanly.
  • speakersafetyd 3.0.0 on edge has no apple/j614.conf, so it fails on J614s. It fails the same way before and after the switch.

@NeoCode914

Copy link
Copy Markdown

Real-world data point for this PR: with the current templates, omarchy-channel-set on a Mac that omarchy-mac has already cleaned leaves pacman unusable.

MacBook Air M2 on edge (omarchy-dev 4.0.0.r8640, omarchy-mac 0.2.11-1), cleaned on 2026-11-29. Running omarchy-channel-set edge wrote [asahi-alarm] back from pacman-edge.conf. Its pacman -Syyuu then failed with asahi-alarm: signature … is unknown trust, and every later pacman -S* query and checkupdates failed the same way. Reproduced twice on 2026-11-30.

The helper doesn't recover from this on its own: omacom/omarchy-mac-pkgs#219. Until this merges, the recovery is to delete the section by hand (details in that issue).

rc looks exposed too: it already has the keyring-free omarchy-mac 0.2.9-2, but its omarchy 4.6.0rc1-2 still ships the old templates, so omarchy-channel-set rc or omarchy-refresh-pacman there should hit the same thing.

Filed by Claude Opus 5.5 via Claude Code.

@maralcbr

Copy link
Copy Markdown
Member Author

@greptileai

@greptile-apps

greptile-apps Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The code appears safe to merge once the stated edge and rc package checks pass.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The code appears safe to merge once the stated edge and rc package checks pass.

Summary

Removes Asahi ALARM from all three Apple Silicon package templates and selects aurora-bless directly.

  • Apple Silicon pacman configs no longer use Asahi ALARM.
  • Apple Silicon installs request aurora-bless by name.

No new actionable issues were found. The stated edge and rc package checks remain prerequisites for merge; their live repository state was not verified here.

Scope acknowledged by maralcbr: stable switching remains restricted until its packages catch up; Steam's FEX packages and automatic conversion of existing asahi-bless installs are deferred. Installed-machine cleanup belongs to the companion omarchy-mac release.

Reviews (2) · Last reviewed commit: "Drop Asahi ALARM from the Apple Silicon ..." · Reviewed by Greptile

@maralcbr
maralcbr marked this pull request as ready for review December 1, 2026 01:39
Copilot AI balanced review requested due to automatic review settings December 1, 2026 01:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Repository removal depends on live edge/rc publication of keyring-free Mac packages, default-package resolution without --assume-installed, and a cleaned Mac’s edge-to-rc switch—release gates that source review alone cannot verify.

No open issues 🎉

What changed in this PR

Moves Apple Silicon’s package configuration away from Asahi ALARM to Omarchy-built packages. Cleanup of existing installations is delegated to the companion omarchy-mac release.

Changes:

  • Removes [asahi-alarm] from all three Apple Silicon pacman templates and updates repository-order expectations.
  • Selects aurora-bless explicitly and replaces Asahi-specific keyring test fixtures with generic examples.
  • Updates reference documentation and the English security manual to reflect the repository change.
File Description
test/​shell.d/​update-keyring-test.sh Uses generic platform-keyring fixtures.
test/​shell.d/​pacman-templates-test.sh Expects Apple repository order without Asahi ALARM.
manual/​48-security.md Removes Asahi ALARM from the default package-source description.
install/​omarchy-aarch64-apple.packages Requests aurora-bless directly.
docs/​update-process.md Updates Apple repository ordering and channel documentation.
docs/​file-layout.md Updates the platform-keyring documentation.
default/​pacman/​aarch64-apple/​pacman-stable.conf Removes Asahi ALARM from the stable template.
default/​pacman/​aarch64-apple/​pacman-rc.conf Removes Asahi ALARM from the rc template.
default/​pacman/​aarch64-apple/​pacman-edge.conf Removes Asahi ALARM from the edge template.

Review effort: Balanced

@maralcbr
maralcbr merged commit f03edf8 into quattro Dec 1, 2026
7 checks passed
@maralcbr
maralcbr deleted the omacom/drop-asahi-alarm-repo branch December 1, 2026 03:07
maralcbr added a commit to omacom/omarchy-mac-pkgs that referenced this pull request Dec 1, 2026
The aarch64-apple fixture follows the runtime's Apple templates, which no
longer name [asahi-alarm] from quattro f03edf86 (omacom/omarchy#19261) on,
so the runtime moves there too. aurora-bless replaces asahi-alarm-keyring in
the platform set, and an asahi repository is now forbidden.
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Dec 1, 2026
…macom#19261)

* Take the Apple Silicon packages from Omarchy instead of Asahi ALARM

Omarchy now builds every package Macs took from [asahi-alarm]: aurora-scripts
and aurora-fwextract replace asahi-scripts and asahi-fwextract, and lzfse,
speakersafetyd, bankstown, triforce-lv2, widevine, muvm and fex-emu are built
at a higher pkgrel. The Apple Silicon templates stop listing the repository.

The migration moves installed Macs over once per machine. While the
repository is still configured it checks that [omarchy] carries every
installed package's build, and stays pending with nothing changed when it
doesn't. It then drops the section with a backup, upgrades, names anything
only asahi-alarm carried, and removes asahi-alarm-keyring and its key once
nothing requires the keyring.

* Name aurora-bless in the Apple Silicon package list

asahi-bless only resolved to aurora-bless through its provide, and picked
asahi-alarm's asahi-bless while that repository was configured.

* Run the asahi-alarm migration after the migrations now on quattro

* Leave the asahi-alarm cleanup to omarchy-mac

A migration that waits for a channel's packages blocks every later
migration and the boot update behind it. omarchy-mac 0.2.7 removes the
repository, keyring and key itself, and it reaches a channel only together
with the packages that replace asahi-alarm's.

* Drop Asahi ALARM from the Apple Silicon docs and manual

The Apple templates no longer carry [asahi-alarm], so the repository order, the per-channel note and the security chapter stop naming it. The keyring note covers the default packages, since an installed Mac can keep foreign ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants