Skip to content

Add omarchy-mac-boot for aarch64 edge - #637

Merged
maralcbr merged 6 commits into
masterfrom
mac/09-omarchy-mac-boot
Sep 25, 2026
Merged

maralcbr merged 6 commits into
masterfrom
mac/09-omarchy-mac-boot

Conversation

@maralcbr

@maralcbr maralcbr commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Note

Merged 2026-09-25 23:24 (Brisbane) as 20260925-2, pinned to a09ee0ca (integ/boot-set-1, omacom/omarchy-mac#547). That pin has #541 at 3a58abb5, not its later review fixes. The next re-pin, to #541's merge commit on quattro-upstream, goes through #641. #641 also adds the HOOKS-baseline dependency and documents the publish order: a pin with #544 waits for #542's settings; a pin with #543's update-verify publishes before any runtime carrying #543. The caution below describes the state before the merge.

Caution

Merge before the boot set, not after. Merging publishes omarchy-mac-boot to edge/aarch64 only.

  1. Pinned to the boot-set integration commit. _commit is a09ee0ca, the head of omacom/omarchy-mac integ/boot-set-1 (draft Integration: boot set (#527, #540, #545, #541) — do not merge omarchy-mac#547, never to be merged): quattro-upstream 1d24f650c with linux-omarchy: fix XPS 13 speaker-ID GPIO discovery #527, Package request: Maple Mono NF #540, Make build-approved release pending PR workflows #545 and Package request: THPM (Theme Hook Plugin Manager) #541 merged, CI green. This package publishes first so quattro-upstream never depends on an unpublished package. Keep integ/boot-set-1 (no force-push, no delete) until the pin moves: publishing rebuilds from source when no build artifact is found. After the four PRs merge, re-pin to their quattro-upstream merge commit, which has the same packages/omarchy-mac/boot content: _commit, pkgver (that commit's UTC date), pkgrel per the PKGBUILD comment, and sha256sums (makepkg -g).
  2. Plymouth. This pin leaves out Build the Apple initramfs drop-ins on the HOOKS baseline, Apple only omarchy-mac#544, so the package still ships 93-omarchy-mac-plymouth.conf. Package request: Splinterm and MCP adapter #542 is on quattro-upstream; the Package request: Splinterm and MCP adapter #542-before-linux-omarchy: carry ACPICA PCI bus fix for resume delays #544 ordering applies to the later build that includes linux-omarchy: carry ACPICA PCI bus fix for resume delays #544.
  3. Reviews. The usual second-model reviewer's re-check is still owed (rate-limited).

limine-mkinitcpio-hook 1.39.0-2 (#631), which this package requires, is now on edge/aarch64.

Ticket 09 of the Apple Silicon convergence plan: the Apple Silicon boot package (Mac initramfs, in-place encryption, vendor firmware in early boot, first boot and the Limine activation gate).

Remaining references to omarchy-apple-boot and omarchy-first-boot are transition code only: this recipe's metadata and scriptlet, the first-boot unit's ordering against the old unit, and the image builder's refusal lists.

Testing

  • bin/build --arch aarch64 --package omarchy-mac-boot in a fresh builder image from this branch: the checksum matched, check() ran the boot suite (97 checks, all pass), and omarchy-mac-boot-20260925-1-aarch64.pkg.tar.zst was built. .PKGINFO has aarch64, the provides/conflicts/replaces, 20 backup entries and the depends above.
  • bin/build-matrix plans only aarch64 -> edge. package_builds_for_mirror and package_moves_to_channel refuse rc and stable, and x86_64 is unsupported.
  • File ownership through omarchy-mac's tools/package-resolution/check (ticket 12). A local repository held this package, omarchy-mac 0.1.0-5, limine-mkinitcpio-hook 1.39.0-2 (limine-mkinitcpio-hook 1.39.0-2: Apple Silicon activation gate #631's artifact), m1n1-aurora and uboot-asahi, checked against live ALARM, asahi-alarm and edge/aarch64. The Apple closure (902 packages) resolves with no conflicts, and every file has one owner, both with the published omarchy-settings 4.0.2 and with the quattro omarchy/omarchy-settings at 073e489b. The generic aarch64 and Qualcomm closures carry no Mac package. pacman -F: none of the 43 payload paths is owned by another package.
  • Real pacman in an aarch64 container:
    • Moving from the fork's 20260921-10 is an upgrade (vercmp 1).
    • The upgrade removes the image finalize tools, the upstream ARM repository key and the GRUB snapshot-menu hook, which the source no longer ships (the hook's tool is mx-only).
    • A legacy first-boot marker moves to mac-first-boot, the dangling omarchy-first-boot link goes, and a locally edited drop-in is kept.
    • A Mac that already has its own /etc/default/update-m1n1 keeps it, and the shipped one lands as .pacnew.
  • Self-tests from test.yml, in an aarch64 container: all pass except tests/publish-artifact.sh, which fails the same way on master there.
  • Not done: hardware (tickets 25/26).

Second review: an independent review found one wrong README claim (it called every dependency generic; asahi-scripts is Apple-only), now fixed. It confirmed that makepkg writes depends/backup set in package() for a single package, the prepare() checks, the checksum, the edge/aarch64-only plan, the verbatim scriptlet and no overlap with omarchy-mac, and it raised the merge order in the caution above. The second-model review could not run today (usage limit) and still has to run before merge.

Follow-up (2026-09-25, Brisbane): the platform tag was added, and the pin moved to 3a58abb5 (#541 with #527's current head merged in). Rebuilt through bin/build in the aarch64 builder: the checksum matched, check() passed (97 checks), .PKGINFO has group = omarchy-platform-apple-silicon, and bin/build-matrix still plans only aarch64 -> edge. Second review of the follow-up, from a fresh-context reviewer on a different model, because the usual second-model reviewer was rate-limited: the tag placement, checksum, pkgver and unchanged edge/aarch64 metadata are all confirmed, with no defects. The usual reviewer's re-check is still owed.

Follow-up 2 (2026-09-25, Brisbane): re-pinned to a09ee0ca (the boot-set integration commit above), pkgrel=2 since pkgver stays 20260925. Rebuilt through bin/build in the aarch64 builder: the checksum matched, check() passed (116 checks, none failed), and the package has /usr/lib/omarchy/mac-boot/provision-{prepare,commit,verify} and limine-ready, /usr/lib/omarchy-mac/boot/{provision,factory-reset}.sh and setup/, /etc/default/update-m1n1 with LC_ALL=C, 93-omarchy-mac-plymouth.conf, group = omarchy-platform-apple-silicon, and the same arch, provides/conflicts/replaces and depends. boot-source-revision records a09ee0ca. The branch is level with master. CI passes at 020b28dd: the aarch64 edge build, build isolation and self-tests.

Second review of follow-up 2, from a fresh-context reviewer (the usual reviewer is rate-limited): safe with conditions. It confirmed edge/aarch64 only, nothing generic depends on or groups it, the pin is fetchable and the checksum matches, 20260925-2 sorts above the fork's 20260921-10, and nothing breaks on a machine that gets it before the four PRs merge. No machine receives it today: the M2 Max and mx-mac Macs use the maralcbr repositories, and community omarchy-mac Macs set [omarchy] to Usage = Sync. Macs later installed from omarchy-mac-installer images, which configure edge aarch64, would. It found two stale README claims (the platform guard, #539, is still open; the old pkgrel), now fixed.

The Apple Silicon boot package (Mac initramfs, in-place encryption, first
boot and the Limine activation gate) now builds from packages/omarchy-mac/boot
in omacom/omarchy-mac at a pinned commit: the recipe runs the source's tests
and install staging, and keeps only metadata, backup= and the pacman
scriptlet from the fork recipe. aarch64 and edge only; 20260925-1 upgrades
the fork's 20260921-10. It needs the Apple-gated limine-mkinitcpio-hook
1.39.0-2.
…pendency is Apple-only

Moves the pin to 602266c8, where first boot of a fresh image refuses to finish
without the build manifest that defers its hardware setup. asahi-scripts is
the one Apple-only dependency; the README no longer calls them all generic.
groups=('omarchy-platform-apple-silicon') is the platform tag the pacman
platform guard reads (omacom/omarchy-mac#539); the package is not published
yet, so it carries the tag from its first build. The pin moves to 3a58abb5,
omacom/omarchy-mac#541 with #527's current head merged in.
Pin a09ee0ca, the head of omacom/omarchy-mac integ/boot-set-1 (#547): quattro-upstream with #527, #540, #545 and #541 merged. The package then carries the Apple provisioning entrypoints from #545 and can publish before those PRs merge.
@maralcbr
maralcbr merged commit cd1ffe0 into master Sep 25, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: omarchy-mac-boot (aarch64, PR artifact)

  • edge/aarch64: omarchy-mac-boot-20260925-2-aarch64

Commit cd1ffe0 · run

joshuaswarren added a commit to joshuaswarren/omarchy-pkgs that referenced this pull request Nov 22, 2026
Builds joshuaswarren/mesa-1 d4ad4a4dce6d (G509) with the omarchy-mlx Mesa
options. Its mesa-git-sha reads "d4ad4a4dce G17C", so omarchy-mlx (omacom#637)
refuses it on any GPU but G17C. It replaces omarchy-mlx-vulkan, and only
omarchy-mac-ml-m5 pulls it in, so M1-M4 keep mesa-1 439dc032d7.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
joshuaswarren added a commit to joshuaswarren/omarchy-pkgs that referenced this pull request Nov 22, 2026
- omarchy-mlx-vulkan-m5: source vulkan-driver-names.sh so package() and
  check() survive the Aurora Borealis rename, and ship the ICD under both
  honeykrisp and borealis names like the shipped omarchy-mlx-vulkan.
- Correct the Mesa pin comment: d4ad4a4 (aurora-wip lineage) accepts the
  "aurora" DRM name natively via agx_is_native_drm_driver.
- Mark pkgver and _mlx_release TODO-v0.7.50: real values land when the
  release tags, since only v0.7.50 carries the omacom#637 chip binding.
- release/owners.json: regenerated entries for the two new pkgbases via
  bin/release-owners. The omarchy-mlx-vulkan provides still needs a
  maintainer-approved "approved" line.
- release/mac-inventory.txt: add omarchy-mlx-vulkan-m5 none.
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.

1 participant