Skip to content

Tag the Mac recipes with the Apple Silicon platform group - #650

Open
maralcbr wants to merge 2 commits into
masterfrom
mac/66-platform-group-tags
Open

maralcbr wants to merge 2 commits into
masterfrom
mac/66-platform-group-tags

Conversation

@maralcbr

@maralcbr maralcbr commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Adds groups=('omarchy-platform-apple-silicon') to linux-aurora (both split packages), m1n1-aurora, uboot-asahi and omarchy-mac, per the tagging contract in omacom/omarchy-mac docs/platform-guard.md (#539). omarchy-mac-boot is already tagged. aquamarine is shared and stays untagged. Ticket 66 of the Apple Silicon convergence plan.

It also drops linux-aurora's generic WIREGUARD-MODULE provide. The contract allows Apple packages no generic provides: the omarchy repository comes first in pacman's order, so on a generic aarch64 machine any dependency on WIREGUARD-MODULE would default to linux-aurora, which the guard then refuses. Nothing depends on it: I checked every edge/aarch64 sync database (omarchy, asahi-alarm, ALARM core, extra, alarm, aur) for depends, makedepends and optdepends, and the AUR. wireguard-tools depends only on bash, and the module is still built (CONFIG_WIREGUARD=m). Trade-off: stock Arch linux, ALARM linux-aarch64 and linux-asahi do provide it, so if a package ever depends on WIREGUARD-MODULE, a Mac would pull another kernel for it instead of being satisfied by linux-aurora. It shares pkgrel 11 with the tagging, so there is no extra rebuild.

What publishes on merge

Every recipe here is channels: ["edge"] and arch=('aarch64'), so five new files go to edge/aarch64 only, and nothing goes to rc, stable or x86_64:

  • linux-aurora-7.1.12.aurora2-11, linux-aurora-headers-7.1.12.aurora2-11: same commit, full kernel rebuild, about 72 min under emulation. pkgrel is part of localversion, so uname -r and the module directory change (-2-10 becomes -2-11), like any kernel pkgrel bump.
  • m1n1-aurora-1.6.1.aurora1-4
  • uboot-asahi-2026.07.asahi2-5: stays above asahi-alarm's pkgrel 1.
  • omarchy-mac-0.1.0-6: same pinned _commit.

Every pkgrel is bumped so no published filename gets new bytes.

Effect on installed systems

  • The tag is a group, not a dependency or provide, so pacman -Syu resolves Macs exactly as before. The only visible change is the kernel pkgrel update above.
  • No published omarchy-settings or omarchy-settings-dev ships the guard, on any channel or arch. edge 4.0.4-2 is included; I checked the live .files databases. Until a settings package that carries the guard ships, the tags have no effect anywhere.

Testing

  • Every PKGBUILD sources with CARCH=aarch64 and has the right pkgname, version and groups.
  • I ran the guard from omarchy-mac quattro-upstream against the live edge/aarch64 database, with these four tags injected, on an x86_64 Omarchy host:
    • A booted generic machine refuses all six Apple packages, one at a time and together, naming each package.
    • A generic-aarch64 image manifest refuses all six.
    • An apple-silicon manifest allows all six.
    • aquamarine and omarchy-settings pass everywhere.
  • The PKGBUILD sources with CARCH=aarch64 after the provide change: provides is linux-asahi=7.1.12.aurora2, pkgrel 11, the group set.
  • Second review: no findings on the tagging diff; its one note, the WIREGUARD-MODULE provide, is fixed here, and the review of that change found nothing. Fable re-check still owed for the tagging commit.

linux-aurora (and its headers), m1n1-aurora, uboot-asahi and omarchy-mac declare groups=('omarchy-platform-apple-silicon'), as docs/platform-guard.md on omacom/omarchy-mac asks, so the platform guard keeps them off other machines. Each pkgrel is bumped so the rebuilt files do not reuse a published filename.

This branch has not been deployed

No deployments
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