Repository navigation
Build linux-firmware from source and follow Arch's releases unattended - #695
Closed
spencerbull wants to merge 2 commits into
Closed
spencerbull wants to merge 2 commits into
spencerbull wants to merge 2 commits into
Conversation
spencerbull
force-pushed
the
own-linux-firmware
branch
from
September 29, 2026 02:14
a807229 to
78c2f03
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Omarchy's pacman configs list
[core]before[omarchy], so a firmware fix can't reach users ahead of the Arch snapshot. Thelinux-firmware-cirrusshim from #496 has been published since 2026-09-17 and has never been selected. This makes Omarchy own linux-firmware: every Arch split, built from the signed kernel.org release, and kept current without a person in the loop unless a release differs from Arch's build of it.This is the package half. Merging it changes nothing on anyone's machine: the packages stay shadowed until omacom/omarchy#12341 and omacom/omarchy-iso#190 put
[omarchy]first, and those wait on the stale overlaps listed at the bottom.The recipe
pkgbuilds/linux-firmwareis Arch's PKGBUILD, sourced fromhttps://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-<date>.tar.xz. The.tar.signis verified against Josh Boyer's key (4CDE8575E547BF835FE15807A31B6BD72486CFD6), the key Arch pins for the signed tag._pickglobs, dependencies,provides/conflicts/replacesand licenses. Our packages replace Arch's name for name, so no firmware file can be owned by packages from two repositories.amd-ucodeis not built: CPU microcode stays with Arch. Its files are still picked out oflinux-firmware-other.package_linux-firmware-other()intobuild(), socheck()can see every split before anything is packaged.linux-firmware-cirrus 20260916-1supersedes the published20260810-3. This supersedes the closed Track current Cirrus firmware in the fast ring #502.Staying current
[core]package (the archlinux.org JSON), not upstream tags. A release arrives once Arch has shipped it, so Arch's testing repo stands in for themin_release_agewindow that raw git tags can't provide._archrelrecords the Arch build the recipe has to match. When Arch rebuilds the same release, the watch bumps_archreland ourpkgrel.check()runsfirmware-parity:"auto_merge": true). A PR that merges on its own has, by construction, reproduced what Arch shipped.pkgverby hand with_archrel=0, which skips the comparison. Arch's first build of that release moves_archrelto 1, and the tracker rebuilds with the comparison on.I checked the watch against the live JSON, where Arch is at
20260916-1:20260910,_archrel=220260916,_archrel=120260916,_archrel=0(shipped ahead)_archrel=1with apkgrelbump20261010, aheadThe tracker
track-branches.ymlopened one PR for everyauto_mergepackage, so a firmware release that failed its comparison would have held up theomarchy-devandomasnap-gitpins. A newplanjob now sortsauto_mergepackages:auto/track-branchesPR, unchanged.auto/track-<package>.linux-firmwareis the only release-following package today.Verification
bin/build --mirror stable --package linux-firmwarebuilt all 20 packages against the stable snapshot, andcheck()reported7014 firmware paths match Arch's 20260916-1 across 18 splits..*metadata also droppedath11k/QCN9074/hw1.0/.notice.zstfrom Arch's side. Extraction now takesusr/only, and a fixture case covers it.linux-firmware 20260810-2pluslinux-firmware-marvell.[core], andpacman -Syu.20260916-1from our repo, including the newamdandtisplits.pacman -Qkfinds nothing missing.cs35l56-...-10280e54-*Dell XPS 13 DX13260 files are present afterwards. They were absent before.tests/linux-firmware-parity.sh: 10 fixture cases, now part ofself-tests. Each of these mutations of the script fails it:--exclude '.*'.tests/pinned-sources.sh,tests/upstream-watch.py,bin/sync-upstream self-testandupstream-watch.py validatepass.actionlintis clean. I ran theplanstep locally with no input,linux-firmware,omarchy-dev, a package withoutauto_merge(rejected) and an invalid name (rejected).master's schedule, andbuild-pr.ymlbuilds this PR withmaster's tooling, so neither is exercised until after merge.Costs
Each build downloads the 632 MiB upstream tarball and about 800 MiB of Arch packages for the comparison, then compresses roughly 1.3 GB with
zstd -19. As a fast-ring package it builds once per channel.Before
[omarchy]can go firstThese same-name packages would start resolving from
[omarchy], and most of them are older there. They get cleared in a separate PR, which also adds a check that no[omarchy]package is older than the Arch snapshot on its channel.-1vs-2)Related: the Dell XPS 13 DX13260 (Panther Lake) speaker firmware aliases arrived in
20260910, and stable and RC are still on20260810-2.🤖 Generated by Claude Opus 5.5 in Claude Code.