Skip to content

Install the omarchy binfmt pacman hook - #820

Draft
axelfontaine wants to merge 1 commit into
omacom:masterfrom
axelfontaine:omarchy-binfmt-hook
Draft

axelfontaine wants to merge 1 commit into
omacom:masterfrom
axelfontaine:omarchy-binfmt-hook

Conversation

@axelfontaine

Copy link
Copy Markdown
Contributor

Ships default/libalpm/hooks/30-omarchy-binfmt.hook from omacom/omarchy#6736 in the omarchy and omarchy-dev packages.

The hook runs omarchy-apply-binfmt after any transaction that installs, upgrades or removes usr/lib/binfmt.d/qemu-*-static.conf. It keeps the /etc/binfmt.d overrides that add O and C to the QEMU registrations in step with qemu updates, so sudo keeps working in emulated cross-arch Docker containers. It sorts after systemd's 25-systemd-binfmt.hook.

Merge order

Draft until omacom/omarchy#6736 is merged. Both PKGBUILDs install the hook file, so:

  • omarchy-dev fails to build until #6736 is on the branch it builds from.
  • omarchy is pinned to v4.0.4, which does not contain the hook, so this line can only land with the release bump to a tag that includes #6736.

If you prefer, I can split this so omarchy-dev merges right after #6736 and the omarchy line rides along with the release bump.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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