Skip to content

Follow #14431's platform rename to aarch64-apple - #24

Closed
ryanrhughes wants to merge 3 commits into
mainfrom
platform/aarch64-apple
Closed

ryanrhughes wants to merge 3 commits into
mainfrom
platform/aarch64-apple

Conversation

@ryanrhughes

Copy link
Copy Markdown
Contributor

omacom/omarchy#14431 now names the platforms x86, aarch64 and aarch64-apple (was generic, generic-aarch64 and apple-silicon), and AGENTS.md there makes that the standard: aarch64-<family> for any later ARM family. This keeps the Mac packages working on both sides of the rename and moves CI's runtime pin to the new head.

Accept the aarch64-apple platform name

  • Every check that compared omarchy-hw-platform to apple-silicon now matches @(aarch64-apple|apple-silicon). Without it, omarchy-mac-boot/lib/provision.sh refuses owner provisioning on every Mac running the renamed runtime.
  • omarchy-hw-apple-silicon calls stay: the runtime keeps it as a hidden alias of the new omarchy-hw-aarch64-apple.
  • Unit tests default to the new names and keep cases on the old one.

Skip the Electron GL wrapper where the runtime has none

  • #14431 moved omarchy-cmd-electron-gl-wrap and omarchy-cmd-desktop-exec-repair out to Run 1Password with software GL where there is no render GPU omarchy#14717. On a runtime without them, omarchy-mac-setup-system exited 127 at the first installed Electron app. Chromium is a default package, so every Mac's system setup failed.
  • Both Electron steps now skip until the wrapper is back. Once #14717 lands, the stricter "missing helper fails setup" check can return.

Test against #14431's renamed platforms

  • test/integration/runtime now pins 7306febc.
  • Integration tests fake aarch64-apple / x86.
  • The package-resolution fixtures are renamed to aarch64-apple / aarch64, read install/omarchy-aarch64-apple.packages, and resolve through https://arm-mirror.omarchy.org, the mirror the runtime now configures in place of plain-HTTP mirror.archlinuxarm.org.
  • The provisioning integration test stubs the USB and Thunderbolt enrollment that runtime provisioning now runs after the re-key, as the runtime's own test does.

Testing (Arch x86_64 host)

  • omarchy-mac/test/all passes.
  • Every omarchy-mac-boot test passes except dtb-overlays-test.sh, which needs dtc (not installed here; CI has it).
  • test/integration/all passes against the new pin; electron-desktop-repair skips until #14717.
  • tools/package-resolution/check passes for both platforms against live databases, and check-test.sh passes.
  • check-scope and check-architecture-gates pass.

Merge this before #14431, so a Mac never pairs the renamed runtime with packages that only know apple-silicon.

omacom/omarchy#14431 renames the platforms to x86, aarch64 and
aarch64-apple, so omarchy-hw-platform now answers aarch64-apple on a Mac.
Every check that compared its answer to apple-silicon accepts both names,
so these packages work on a runtime from either side of the rename.
Without it, owner provisioning would refuse every Mac on the renamed
runtime.

The unit tests stub the new names by default and keep cases on the old one.
omarchy-hw-apple-silicon stays in use: the runtime keeps it as an alias.
omacom/omarchy#14431 moved omarchy-cmd-electron-gl-wrap and
omarchy-cmd-desktop-exec-repair out to omacom/omarchy#14717. On a runtime
without them, system setup exited 127 at the first installed Electron app,
and Chromium is a default package, so every Mac's setup failed. Both steps
now leave the apps alone until the wrapper is back; the wrapper only matters
on a Mac without its GPU driver. Once #14717 lands, the stricter check that
a missing helper fails setup can return.
The runtime pin moves to omacom/omarchy#14431's head (7306febc), which names
the platforms x86, aarch64 and aarch64-apple, moves the Apple package list
to install/omarchy-aarch64-apple.packages and its pacman templates to
default/pacman/aarch64-apple/, and fetches Arch Linux ARM through
https://arm-mirror.omarchy.org.

The integration tests fake the platforms by their new names, and the
package-resolution fixtures become aarch64-apple and aarch64, read the
renamed list, and resolve through the same Omarchy mirror machines use.
Owner provisioning there also enrolls USB and Thunderbolt accessories after
the re-key, so the provisioning test stubs that step as the runtime's own
test does.
@maralcbr

Copy link
Copy Markdown
Member

Thanks Ryan. Superseded by #26 (merged as 5b2c815), which follows the aarch64-apple rename on top of #23's Electron skip: Mac checks ask omarchy-hw-apple-silicon (both runtimes ship it) and the two places that need the string accept aarch64-apple|apple-silicon. Fixtures are renamed to platforms/aarch64-apple and platforms/aarch64, CI pins e1b0e5e9b, and omarchy-mac is 0.1.2. Suites pass against both e1b0e5e9b and 5397950a2.

@maralcbr maralcbr closed this Oct 10, 2026
scottjones added a commit that referenced this pull request Oct 10, 2026
Brings in #23. omarchy-mac stays at #12's 0.2.0 over main's 0.1.1, in
the version file and the README. The runtime pin moves to
omacom/omarchy#14675's head 00fcc451, the fingerprint-readers detector
on quattro, since f317ea50 is no longer any PR's head. Quattro renames
the platform from apple-silicon to aarch64-apple, so the platform-name
tests need #24 before this pin passes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
scottjones added a commit that referenced this pull request Nov 18, 2026
PRs that each bumped omarchy-mac/version kept colliding (#23 and #24 on
0.1.1, #21 and #28 on 0.1.3) or forgot to bump. Only a release reads the
number, through the recipe's pkgver, so the release now sets it: in a
pull request from release/omarchy-mac-<version> that changes only that
file. A new gate fails any other pull request that touches the file.
The README no longer repeats the number.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.

2 participants