Skip to content

Offer stable and rc on aarch64 - #16065

Merged
emirb merged 2 commits into
quattrofrom
aarch64-stable-rc
Oct 20, 2026
Merged

emirb merged 2 commits into
quattrofrom
aarch64-stable-rc

Conversation

@emirb

@emirb emirb commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Every aarch64 install ended up on edge, whatever ISO it came from:

  • default/pacman/aarch64/ held edge templates only;
  • omarchy_pacman_default_channel returned edge on every ARM platform;
  • so install/post-install/pacman.sh fell back to edge for an rc or stable install.

An install from the 4.5.0rc1 aarch64 ISO, for example, moves to edge on its first update. 4.5 is the first release whose omarchy and omarchy-settings run on aarch64; pkgs.omarchy.org/rc/aarch64 serves 4.5.0rc1-1.

  • Templates: pacman-{rc,stable}.conf and mirrorlist-{rc,stable} for aarch64 are the edge ones with the channel's Omarchy repository and Arch Linux ARM mirror: arm-rc-mirror.omarchy.org and arm-stable-mirror.omarchy.org. These are snapshots promoted from arm-mirror.omarchy.org, as x86_64's rc-mirror and stable-mirror are.
  • Default channel: every aarch64 platform except Apple Silicon now defaults to stable. Apple Silicon keeps edge templates alone, since its packages and Asahi ALARM are published for edge only.
  • Channel detection: omarchy-version-channel recognised only the x86_64 mirror hosts, so ARM machines report unknown / edge today. On rc or stable, the menu's checkmark and omarchy-refresh-pacman with no channel named wouldn't have known the channel. It now accepts the arm- hosts, and pacman-templates-test.sh checks that it names every platform's channel. The new check fails against the old command.

Machines already on edge stay on edge: no migration, nothing changes until someone picks a channel.

Merge timing. pkgs.omarchy.org/stable/aarch64 serves omarchy-4.0.6-1 until 4.5.0 ships, and that runtime has no aarch64 templates. Once this reaches edge, two things would put an ARM machine on 4.0.6 before then:

  • choosing Stable in the menu;
  • running omarchy-reinstall-pkgs, which resets to the platform's default channel.

Land it with the 4.5 rc that becomes the release, so that window is the rc's days.

Goes with omacom/omarchy-iso#301 (rc and stable aarch64 ISOs) and omacom/omarchy-mirror#14 (the ARM mirrors' /lastsync).

[aur]. The aarch64 edge, rc and stable templates stop listing Arch Linux ARM's [aur]. None of its 12 packages is in an Omarchy install or package list, and on Oct 3 we decided not to carry it. New installs and channel switches stop reading it. Machines installed before keep [aur] in their /etc/pacman.conf, because an update never rewrites that file, so Omarchy's ARM mirror keeps serving it. Apple Silicon's template keeps [aur]: the Mac image builder in omarchy-mac-installer requires it in the installed system (verify_installed_system.py REQUIRED_PACMAN_SECTIONS).

@greptile-apps

greptile-apps Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge with the release timing described by emirb.

Summary

Adds stable and rc channels for non-Apple aarch64 machines, makes stable their default, and recognizes ARM mirror hosts when reporting the active channel.

  • Non-Apple aarch64 machines can use stable and rc channels and default to stable.
  • ARM mirror hosts now show the channel they serve.
  • ARM package templates no longer include the AUR repository.

Reviews (3) · Last reviewed commit: "Stop listing Arch Linux ARM's [aur] on a..." · Reviewed by Greptile

Comment thread docs/update-process.md Resolved
Every aarch64 install ended up on edge, whatever ISO it came from:
default/pacman/aarch64/ held edge templates only, and
omarchy_pacman_default_channel returned edge on every ARM platform, so
install finalization fell back to edge for an rc or stable install. 4.5
is the first release whose omarchy and omarchy-settings run on aarch64,
and pkgs.omarchy.org/rc/aarch64 serves 4.5.0rc1.

The rc and stable templates are the edge ones with the channel's
Omarchy repository and Arch Linux ARM mirror: arm-rc-mirror and
arm-stable-mirror.omarchy.org, the snapshots promoted from
arm-mirror.omarchy.org, as x86_64's rc-mirror and stable-mirror are. Every
aarch64 platform but Apple Silicon now defaults to stable; Apple
Silicon keeps edge templates alone, since its packages and Asahi ALARM
are published for edge only.

omarchy-version-channel recognised only the x86_64 mirror hosts, so an
ARM machine already reported "unknown / edge", and on rc or stable the
menu's checkmark and a refresh with no channel named would not have
known the channel. It now accepts the arm- hosts too, and the templates
test checks that it names every platform's channel.
Arch Linux ARM's [aur] holds 12 packages, none of which an Omarchy
install or package list names, and on Oct 3 we decided not to carry it.
The aarch64 edge, rc and stable templates now list [omarchy], [core],
[extra] and [alarm] only, so new installs and channel switches stop
reading it.

Machines installed before keep [aur] in their /etc/pacman.conf, since
an update never rewrites that file, so Omarchy's mirror keeps serving
it. Apple Silicon's template keeps [aur]: the Mac image builder in
omarchy-mac-installer requires it in the installed system.
@emirb
emirb force-pushed the aarch64-stable-rc branch from 5869e1a to fd7b0b5 Compare October 20, 2026 20:45
@emirb
emirb merged commit dde0d12 into quattro Oct 20, 2026
2 checks passed
@emirb
emirb deleted the aarch64-stable-rc branch October 20, 2026 21:08
@emirb emirb added this to the 4.5 milestone Oct 20, 2026
emirb added a commit that referenced this pull request Oct 22, 2026
ALARM's [aur] repository serves 12 packages, and none of them is
among the 171 that Omarchy installs on a Mac (the base, aarch64 and
aarch64-apple package lists). The generic aarch64 templates dropped
it in #16065; this does the same for Apple Silicon, so a Mac's
pacman.conf only names repositories Omarchy uses.

The Mac image builder (omarchy-mac-installer) refused a template
without [aur] until omacom/omarchy-mac-installer#113, so this must
land after that.
emirb added a commit that referenced this pull request Oct 22, 2026
…16256)

* ✨ feat(region): seed offline chinese input

- ✨ make first-login pinyin available without downloads
- ⌨️ preserve compose and terminal prefix shortcuts

Amp-Thread-ID: https://ampcode.com/threads/T-01a0df38-0ea7-759b-bcff-29da223cc567
Co-authored-by: Amp <[email protected]>

* ✨ feat(pacman): preserve regional defaults

- ✨ share regional repository generation across install and refresh
- 🛡️ reject invalid profiles before replacing configuration

Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567

* ✅ test(region): guard runtime defaults

- ✅ protect global behavior and regional mirror ordering
- ⌨️ guard personal settings and reserved input shortcuts

Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567

* 📝 docs(region): explain china bootstrap choices

- 📝 clarify optional defaults, trust requirements, and opt-out behavior
- ⚠️ document snapshot compatibility and release validation limits

Amp-Thread-ID: T-01a0df38-0ea7-759b-bcff-29da223cc567

* 🐛 fix(channel): keep regional repos when switching to dev

- 🛡️ refuse a dev checkout that lacks this machine's region profile before linking it, since its own refresh would silently replace the regional pacman files
- ✅ isolate channel tests from the host region marker

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* 🐛 fix(pacman): keep existing config file modes

- 🐛 refresh used to copy over the existing files, so a customized mode must survive the shared regional applicator too

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* 📝 docs(region): drop the unreachable menu input gate

- 📝 the menu bypasses the input method, so requiring Pinyin there made the release procedure impossible until upstream fixes it
- 📝 record the required `skel` profile and the dev-switch region check

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ♻️ refactor(pacman): render regional config without root

- 🔒 upstream refresh now gives root only command-scoped copies, so regional files are rendered as the caller and installed with the same four `sudo cp` calls
- ✅ exercise refresh only inside the sudo-boundary sandbox; the old host-level test reached real sudo once refresh pinned its PATH

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* 📝 docs(plans): move the china proposal to a discussion

- 📝 upstream plans are implementation plans; the open questions belong in the discussion that links these changes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01K3Jna1ogUUviYLJzhsG6Vr

* 🔥 refactor(region): drop input defaults from the cn profile

- 🔥 keep this change to the regional build architecture; Chinese input gets its own proposal instead of fixing one engine here
- ✅ assert the shipped profile adds only its repository keyring

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01K3Jna1ogUUviYLJzhsG6Vr

* 📝 docs(region): scope the cn profile to repositories

- 📝 frame USTC and ArchLinuxCN as a bridge until an official China mirror exists
- 📝 record that language, timezone, and input defaults follow as separate changes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01K3Jna1ogUUviYLJzhsG6Vr

* 🐛 fix(pacman): remove the render dir on every refresh exit

- 🐛 a failed render, a refused sudo prompt, or a signal left the scratch directory behind; repeated attempts piled them up
- 🔒 the cleanup runs before the sudo revocation, which stays the last step of the exit path

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* 🐛 fix(channel): require a usable region profile for dev

- 🐛 an empty profile directory or a helper that cannot run passed the guard, linked dev, and then broke the refresh
- ✅ the success case now uses a complete profile

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* ✅ test(pacman): isolate the regional refresh boundary test

- ✅ the render read the host's region marker, so a global machine never rendered China and a China machine failed on missing fragments
- ✅ check the finished China files root installs, not only the copy order

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* ✅ test(pacman): sandbox the region for every boundary test

- ✅ The channel and update boundary tests copied the real render and dev-region guard, so on a China install they read the host's `/etc/omarchy/region` and failed before reaching their checks
- ♻️ The shared fixture now points both lookups at a sandbox target that starts global, and the regional test only writes `cn` there

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SdXqTwm63rRMwotZ1xqLC8

* ✨ feat(region): map timezones to regions

- ✨ one iso serves every region, so the installer derives it from the timezone the user already picks
- ✅ reject unknown zones and zones claimed by two regions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): describe timezone-derived regions

- 📝 the --region build flag is gone, so the installer contract and validation plan change with it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ✨ feat(region): put the china channel mirrors first

- ✨ omarchy now runs per-channel china replicas, so they should lead instead of trailing as a fallback
- ♻️ prepend per-channel fragments so each channel's own mirror stays the fallback
- 🔥 drop the ustc arch mirror, which was never a stable or rc snapshot replica

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): explain mirror order and fallback

- 📝 pacman's three-error skip and first-server databases decide what the china replicas must serve

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 🐛 fix(channel): require every region fragment for dev

- 🐛 leaving dev refreshes stable or rc with the checkout's tools, so a profile missing those fragments would drop regional repositories
- ✅ refuse a profile missing any single fragment

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ✅ test(region): derive china zones from tzdata

- ✅ dropping a backward-compatible zone name from the profile now fails the test

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ♻️ refactor(pacman): branch on render with if/else

- ♻️ follow the repo style instead of exiting early to skip the install block

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): state marker mode and archlinuxcn risk

- 📝 refresh reads the marker unprivileged, and rolling archlinuxcn packages can outpace stable snapshots

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 📝 docs(region): scope the refresh render boundary

- 📝 state that same-user code is outside the refresh boundary, so reviewers see the trade-off was deliberate

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* 🐛 fix(test): skip exact zone match without tzdata.zi

- 🐛 minimal containers lack the link table, so the exact china zone check failed on a correct profile

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QuATgjU4mnqpqSLAKMQ14g

* ✅ test(region): pin the platform in region tests

- ✅ tests no longer depend on the host's hardware, so they pass on ARM dev machines and the incomplete-profile case fails on the missing fragment, not the missing platform helper
- 📝 profiles add x86 repositories only, so ARM machines keep their own templates in a region

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ✅ test(pacman): follow finalization into `omarchy-apply-pacman`

- ✅ finalization and refresh now restore templates through the apply command, so the template and deferred-hardware fixtures redirect its target etc instead of the post-install script's, and the refresh expects the unprivileged render
- ♻️ the apply command asks `omarchy-hw-platform` from PATH like its callers, so the fixtures' platform stubs reach it

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Expect the rendered refresh in quattro's newer channel tests

Two quattro changes postdate the region series. #15903 keeps a refresh
on the machine's own channel and tests it by the template root copies
into /etc; with the renderer, root copies the rendered file, so those
checks now look for the template in the render step. #16065 gave
aarch64 stable and rc, so the region test no longer expects aarch64 to
reject them: it applies every channel a platform has templates for and
expects the rest to be refused.

* Point China installs at Omarchy's China mirrors only, with no new repository

The China profile added ArchLinuxCN from USTC and its keyring. Nothing installed or updated needs that repository, and pacman trusts a populated keyring for every repository, so its packagers' keys would have been able to sign packages for [core] and [omarchy] on every China machine; it is also rolling while stable and rc are snapshots. It is gone, with the keyring package.

What China installs need is the same packages from closer servers. Besides the channel's Arch mirror on omarchy.cn, the [omarchy] repository now lists pkgs.omarchy.cn/<channel> first, the China replica of pkgs.omarchy.org, which carries the largest downloads. Both replicas serve the same signed packages, .org stays the fallback, and global installs are byte for byte unchanged.

A test pins Hong Kong, Macau and Taiwan, under every tzdata name, to no region. Existing installs stay global; the doc gives the two commands to opt in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Find the rendered files from root's copy in the regional refresh test

The China render now writes pacman.conf with awk rather than copying the template, so the test reads the rendered directory from root's copy instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Check the China profile's mirrors, not its exact file list

The region test listed every file in default/regions/cn, so adding any
unrelated file to the profile failed it. What the test is for is that
the profile adds no repository and no key: every fragment is a Server
line for an omarchy.cn mirror. Keep that check and drop the list.

* Give the stale -dev build test the pacman renderer

The refresh now renders pacman's files with omarchy-apply-pacman. This
test, added to quattro after the region series began (#15903), builds
its own sandbox and did not have the renderer, so its refresh failed
before reaching the switch it tests.

---------

Co-authored-by: Kros Dai <[email protected]>
Co-authored-by: Amp <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Omarchybot <[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.

1 participant