Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
0c4d8ff
Prepare Aurora edge packages and legacy upgrade compatibility
DjDeveloperr Oct 14, 2026
7952e0a
linux-aurora: pin #301, build with ALARM's LLVM 18, replace nothing
Oct 14, 2026
26b35c1
Aurora edge: tag Apple Silicon, replace only draft names
Oct 14, 2026
fb17f55
omarchy-aurora-firmware: optional MT7932 policies, world-domain fallback
Oct 14, 2026
32ae19d
mesa-aurora: link neither LLVM nor SPIRV-Tools, and build
Oct 15, 2026
dce0dea
omarchy-aurora-firmware: give the initramfs cfg80211 its regulatory d…
Oct 15, 2026
7d7d900
Preserve the shared kernel configuration and enforce Aurora package g…
DjDeveloperr Oct 16, 2026
550ab53
Keep metadata checks independent of checkout permissions
DjDeveloperr Oct 16, 2026
419fb28
Keep all makepkg metadata destinations writable in CI
DjDeveloperr Oct 16, 2026
1e33ce8
Backport the DWC3 export required by shared module builds
DjDeveloperr Oct 16, 2026
5679fce
aurora: validate Neo config, restore Mesa tests and close firmware races
DjDeveloperr Oct 17, 2026
12bd60b
aurora: pair rebase kernel and Mesa package pins
DjDeveloperr Oct 17, 2026
12c2577
linux-aurora: retain the ARCH module release suffix
DjDeveloperr Oct 17, 2026
739199b
firmware: bound regulatory readback despite unrelated events
DjDeveloperr Oct 17, 2026
829376e
linux-aurora: clarify shared capabilities and guard boot release naming
DjDeveloperr Oct 17, 2026
a283a74
linux-aurora: follow the merged omacom integration source
DjDeveloperr Oct 17, 2026
e2d8406
omarchy-mac-boot: prevent root mounting after encryption fails
DjDeveloperr Oct 17, 2026
b680c73
mesa-aurora: declare the Vulkan loader needed by enabled tests
DjDeveloperr Oct 17, 2026
de78215
linux-aurora: preserve built-in SEP and shared kernel capabilities
DjDeveloperr Oct 18, 2026
a6b52f8
omarchy-mac-boot: drop the downstream encryption mount gate
DjDeveloperr Oct 18, 2026
c25ec2a
linux-aurora: drop the general built-in preservation guard
DjDeveloperr Oct 18, 2026
e92ff94
aurora: fix isolated package builds and bindgen formatting
DjDeveloperr Oct 18, 2026
533635f
aura: separate candidate packaging from release qualification
DjDeveloperr Oct 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
python tests/oma-service-removal.py
python tests/passwordless-package-lifecycle.py
python tests/upstream-watch.py
runuser -u nobody -- python tests/aurora-edge/metadata.py
python tests/aurora-edge/review.py
python tests/aurora-edge/firmware.py
bash tests/ipu7-install.sh
bash tests/ipu7-headers.sh
./bin/sync-upstream self-test
Expand Down
7 changes: 7 additions & 0 deletions pkgbuilds/alsa-ucm-conf-aurora/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"source": "local",
"channels": [
"edge"
],
"sync": false
}
21 changes: 21 additions & 0 deletions pkgbuilds/alsa-ucm-conf-aurora/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgname=alsa-ucm-conf-aurora
pkgver=10.aurora2
pkgrel=1
pkgdesc='Aurora Apple Silicon ALSA profiles including J700'
arch=('any')
groups=('omarchy-platform-apple-silicon')
url='https://github.com/aurora-silicon/alsa-ucm-conf-asahi'
license=('BSD-3-Clause')
_commit=e55107ad9ba220a2772dbe4d55438cd1ec669288
makedepends=('git')
depends=('alsa-ucm-conf')
provides=("alsa-ucm-conf-asahi=$pkgver" "alsa-ucm-conf-asahi-aurora=$pkgver")
conflicts=('alsa-ucm-conf-asahi' 'alsa-ucm-conf-asahi-aurora')
replaces=('alsa-ucm-conf-asahi-aurora')
source=("ucm::git+$url.git#commit=$_commit")
sha256sums=('SKIP')
package() {
install -d "$pkgdir/usr/share/alsa"
cp -a ucm/ucm2 "$pkgdir/usr/share/alsa/"
install -Dm644 ucm/LICENSE.asahi "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
7 changes: 7 additions & 0 deletions pkgbuilds/aura/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"source": "local",
"channels": [
"edge"
],
"sync": false
}
44 changes: 44 additions & 0 deletions pkgbuilds/aura/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Aurora bootloader; ordinary updates refresh ESP Stage 2, never enroll Stage 1.
pkgname=aura
pkgver=0.1.0.r20261014
pkgrel=2
pkgdesc='Aurora Silicon bootloader for Apple Silicon'
arch=('aarch64')
groups=('omarchy-platform-apple-silicon')
url='https://github.com/aurora-silicon/aura'
license=('MIT' 'GPL-2.0-only')
_commit=c4331a90ef324eab33d34d1515d7e42748a293ab
_compat=1.6.1.aurora19
provides=("m1n1=$_compat" "m1n1-aurora=$_compat" "m1n1-neo=$_compat")
conflicts=('m1n1' 'm1n1-aurora' 'm1n1-neo')
replaces=('m1n1-neo')
depends=('asahi-scripts>=20260127.1' 'uboot-aurora')
makedepends=('git' 'clang' 'lld' 'llvm' 'rustup' 'make' 'python')
options=('!strip' '!debug')
source=("aura::git+$url.git#commit=$_commit" build-qualification.json validate-qualification.py)
sha256sums=('SKIP' 'cf7bd9fdda6ceff040c8daca13ed4e91de220a12433574c2a458be19e20b68d6' '623db7c1b25a2ce90821cca287ad60cde1d9844b6a8c56258235f11128e97697')
prepare() {
rustup toolchain install 1.85.0 --profile minimal --target aarch64-unknown-none-softfloat
[[ $(git -C aura rev-parse HEAD) == "$_commit" ]]
}
build() {
cd aura
export RUSTUP_TOOLCHAIN=1.85.0
make clean
make -j"${OMARCHY_BUILD_JOBS:-10}" RELEASE=1 CHAINLOADING=1 USE_CLANG=1 BUILTIN_LOGO=aurora
install -Dm644 build/aura.bin "$srcdir/stage1/aura-raw.bin"
install -Dm644 build/aura.macho "$srcdir/stage1/aura.macho"
make clean
make -j"${OMARCHY_BUILD_JOBS:-10}" RELEASE=1 CHAINLOADING=1 ESP_STAGE2=1 USE_CLANG=1 BUILTIN_LOGO=aurora
}
package() {
python "$srcdir/validate-qualification.py" "$srcdir/build-qualification.json" "$_commit"
install -Dm644 aura/build/aura.bin "$pkgdir/usr/lib/asahi-boot/m1n1.bin"
install -d "$pkgdir/usr/lib/m1n1-neo"
ln -s ../asahi-boot/m1n1.bin "$pkgdir/usr/lib/m1n1-neo/m1n1.bin"
install -Dm644 stage1/aura-raw.bin "$pkgdir/usr/share/aura/stage1/aura-raw.bin"
install -Dm644 stage1/aura.macho "$pkgdir/usr/share/aura/stage1/aura.macho"
install -Dm644 aura/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -m644 aura/3rdparty_licenses/* "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 "$srcdir/build-qualification.json" "$pkgdir/usr/share/doc/aura/build-qualification.json"
}
6 changes: 6 additions & 0 deletions pkgbuilds/aura/build-qualification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_commit": "c4331a90ef324eab33d34d1515d7e42748a293ab",
"hardware_tested": false,
"stage1_auto_enrollment": false,
"publication_gate": "native build, matched Stage1/Stage2 Neo boot, repair and upgrade qualification"
}
24 changes: 24 additions & 0 deletions pkgbuilds/aura/validate-qualification.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env python3
"""Refuse installable Aura packages until the exact pin has boot/repair/upgrade evidence."""
import json
from pathlib import Path
import sys


def validate(record, commit):
if record.get('source_commit') != commit or record.get('hardware_tested') is not True:
raise ValueError('Aura publication blocked: the exact source pin is not hardware-qualified')
evidence = record.get('evidence', {})
for gate in ('native_build', 'matched_stage1_stage2_boot', 'repair', 'upgrade'):
item = evidence.get(gate, {})
if item.get('passed') is not True or not isinstance(item.get('report'), str) or not item['report'].strip():
raise ValueError('Aura publication blocked: missing passing evidence for ' + gate)
if record.get('stage1_auto_enrollment') is not False:
raise ValueError('Aura package updates must not enroll Stage 1 automatically')


if __name__ == '__main__':
try:
validate(json.loads(Path(sys.argv[1]).read_text()), sys.argv[2])
except (OSError, ValueError, KeyError, IndexError) as error:
raise SystemExit(str(error)) from error
7 changes: 7 additions & 0 deletions pkgbuilds/aurora-audio/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"source": "local",
"channels": [
"edge"
],
"sync": false
}
21 changes: 21 additions & 0 deletions pkgbuilds/aurora-audio/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgname=aurora-audio
pkgver=4.1.aurora2
pkgrel=1
pkgdesc='Aurora Apple Silicon PipeWire/WirePlumber DSP profiles including J700'
arch=('any')
groups=('omarchy-platform-apple-silicon')
url='https://github.com/aurora-silicon/asahi-audio'
license=('MIT')
_commit=b2da7512e9bfcd5837355d2393f3c43219acf6b9
makedepends=('git' 'make')
depends=('alsa-ucm-conf-aurora' 'pipewire-audio' 'wireplumber' 'bankstown'
'lsp-plugins-lv2' 'speakersafetyd' 'speakerguardd')
provides=("asahi-audio=$pkgver" "asahi-audio-aurora=$pkgver")
conflicts=('asahi-audio' 'asahi-audio-aurora')
replaces=('asahi-audio-aurora')
source=("asahi-audio::git+$url.git#commit=$_commit")
sha256sums=('SKIP')
package() {
make -C asahi-audio install DESTDIR="$pkgdir" PREFIX=/usr
install -Dm644 asahi-audio/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
7 changes: 7 additions & 0 deletions pkgbuilds/aurora-bless/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"source": "local",
"channels": [
"edge"
],
"sync": false
}
29 changes: 29 additions & 0 deletions pkgbuilds/aurora-bless/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
pkgname=aurora-bless
pkgver=0.4.4.aurora2
pkgrel=1
pkgdesc='Aurora Apple Silicon startup-volume selector with Neo NVRAM support'
arch=('aarch64')
groups=('omarchy-platform-apple-silicon')
url='https://github.com/aurora-silicon/aurora-bless'
license=('MIT')
_commit=727b5895db67bd40aa66c41485c6a8f482d2a917
provides=("asahi-bless=$pkgver")
conflicts=('asahi-bless')
makedepends=('git' 'rust' 'cargo')
source=("aurora-bless::git+$url.git#commit=$_commit")
sha256sums=('SKIP')
build() {
cd aurora-bless
cargo build --locked --release -p asahi-bless ${CARGO_TARGET:+--target "$CARGO_TARGET"}
}
check() {
cd aurora-bless
cargo test --locked -p asahi-bless -p apple-nvram -p asahi-nvram
}
package() {
local bin=aurora-bless/target/release/asahi-bless
if [[ -n ${CARGO_TARGET:-} ]]; then bin=aurora-bless/target/$CARGO_TARGET/release/asahi-bless; fi
install -Dm755 "$bin" "$pkgdir/usr/bin/aurora-bless"
ln -s aurora-bless "$pkgdir/usr/bin/asahi-bless"
install -Dm644 aurora-bless/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
6 changes: 4 additions & 2 deletions pkgbuilds/linux-aurora/.omarchy/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"source": "local",
"skip_build": true,
"channels": ["edge"]
"channels": [
"edge"
],
"sync": false
}
89 changes: 64 additions & 25 deletions pkgbuilds/linux-aurora/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,59 @@
# for Macs on the Omarchy edge channel. It reaches rc and stable only after
# cold-boot qualification on M1 and M2.

epoch=1
_auroraver=7.1.12
_aurorarel=2
pkgrel=12
_aurorarel=6
pkgrel=1

# Immutable pin on aurora-silicon/linux (branch aurora-wip). Every bump is a
# PR that moves _commit and the archive checksum; the pinned commit is cold-boot
# qualified on MacBook Pro 14" M1 Pro (j314s) and 16" M2 Max (j416c) first.
_commit=2439016d2e8d3a0d8aebcd243f29604a91f201c9
# Immutable pin on aurora-silicon/linux (branch aurora-wip-rebase). Every bump is a
# PR that moves _commit; its cold-boot qualification is recorded in
# the PR's attached qualification evidence before channel publication.
_commit=0bbaaa0631957c56c3916ad2c22daf609a748bcc

# Any m1n1 1.6.1 loads these device trees. The Neo's own Stage 2 comes from the
# image, so the floor stays where M1 and M2 users' m1n1-aurora already meets it.
_m1n1_version=1.6.1

pkgbase=linux-aurora
_srcname=linux-${_commit}
_srcname=linux
_kernelname=${pkgbase#linux}
_desc="AArch64 Apple Silicon (Aurora kernel)"
pkgver="${_auroraver}.aurora${_aurorarel}"
arch=('aarch64')
groups=('omarchy-platform-apple-silicon')
url="https://github.com/aurora-silicon/linux"
license=('GPL2')

makedepends=(
base-devel bc dtc kmod libelf pahole cpio perl rustup rust-bindgen tar xz xmlto python
base-devel bc dtc kmod libelf pahole cpio perl rustup clang llvm lld clang18 llvm18 lld18
tar xz xmlto python git patch
)
options=('!strip')
source=(
https://github.com/aurora-silicon/linux/archive/${_commit}.tar.gz
config # the main kernel config file
rust-toolchain.toml
)
sha256sums=('6347354537148120fc5448afcb8671a558ce336f731c70690cd88062a903f84d'
source=(validate-config.py "linux::git+https://github.com/aurora-silicon/linux.git#commit=${_commit}"
rust-toolchain.toml bindgen-kernel.py config neo.config)
sha256sums=('e54876197d94c291e15e175dffc6e889670f59e828c5762a56cf6ac1a5071c1a'
'SKIP'
'443a9c4613172ea352f49b114818a1d75ab048ec4bd2d75b388a7ab3a8a1f046'
'84a03d5fea19cae243c89f50c1736c639622d25d4d1de8d7d53ebd8f603c0f62'
'0732060bdf4215c4e00e02afaca378044658923831a9bdae31f25a48e21527e5'
'2a95563bb9f5b216cc3c170a17e9471448bc63a7084bdd67df23d074939b366c')
'beb1f56dc8b27f02a6a99e86efe04f5a91417c0c55425e46da7ca9865673dd04')

# Kbuild takes ARCH literally and knows arm64, not aarch64.
export ARCH=arm64
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"

# Kbuild assigns BINDGEN itself, so an environment-only value is ignored.
# Supply the wrapper and its real tool in every makepkg phase, not just prepare.
_make() {
AURORA_BINDGEN_REAL="$srcdir/private-bindgen/rust-bindgen-0.73.2/target/release/bindgen" \
LIBCLANG_PATH="${AURORA_LIBCLANG_PATH:-/usr/lib/llvm18/lib}" \
RUSTUP_TOOLCHAIN=1.85.0 make LLVM="${AURORA_LLVM:-/usr/lib/llvm18/bin/}" \
BINDGEN="$srcdir/bindgen-kernel.py" LOCALVERSION= "$@"
}

prepare() {
cd $_srcname

Expand All @@ -65,22 +79,42 @@ prepare() {
echo "Pinning the Rust toolchain..."
cp ../rust-toolchain.toml .

echo "Creating build directories..."
# ALARM's clang18, llvm18 and lld18 install their tools under this prefix only.
export LLVM="${AURORA_LLVM:-/usr/lib/llvm18/bin/}"
local clang_command="clang${LLVM}"
[[ $LLVM != */ ]] || clang_command="${LLVM}clang"
"$clang_command" --version | head -1 | grep -Eq 'clang version 18\.' || {
echo 'linux-aurora requires the qualified LLVM 18 build environment' >&2; return 1;
}
rustup toolchain install 1.99.0 --profile minimal
RUSTUP_TOOLCHAIN=1.99.0 python3 tools/aurora-bindgen/build.py --output-dir "$srcdir/private-bindgen"
export AURORA_BINDGEN_REAL="$srcdir/private-bindgen/rust-bindgen-0.73.2/target/release/bindgen"
export RUSTUP_TOOLCHAIN=1.85.0
rustup toolchain install 1.85.0 --profile minimal --component rust-src
mkdir -p build/base

echo "Setting config (base)..."
cp ../config build/base/.config
make olddefconfig prepare O=$PWD/build/base
diff -u ../config build/base/.config || :
make -s kernelrelease O=$PWD/build/base > build/base/version
scripts/kconfig/merge_config.sh -m -O "$PWD/build/base" build/base/.config ../neo.config
# Keep shared kexec support: at this pin Neo radio admission acquires the
# kernel kexec blocker before retaining DMA/firmware ownership. Both kexec
# load APIs and execution reject while that blocker is held.
scripts/config --file build/base/.config --set-str LOCALVERSION "$_kernelname" --disable LOCALVERSION_AUTO
_make O="$PWD/build/base" olddefconfig
python3 ../validate-config.py ../neo.config build/base/.config
grep -qx 'CONFIG_RUST=y' build/base/.config || {
echo 'linux-aurora requires Rust drivers; toolchain/configuration disabled CONFIG_RUST' >&2; return 1;
}
_make O="$PWD/build/base" prepare
_make -s O="$PWD/build/base" kernelrelease > build/base/version

echo "Prepared $pkgbase version $(<build/base/version)"
}

build() {
cd $_srcname
echo "Building base..."
make all O=$PWD/build/base -j $(nproc)
export LLVM="${AURORA_LLVM:-/usr/lib/llvm18/bin/}" RUSTUP_TOOLCHAIN=1.85.0
export AURORA_BINDGEN_REAL="$srcdir/private-bindgen/rust-bindgen-0.73.2/target/release/bindgen"
_make O="$PWD/build/base" -j"${OMARCHY_BUILD_JOBS:-10}" Image modules dtbs
}

_package_kernel() {
Expand All @@ -105,7 +139,7 @@ _package_kernel() {
echo "$1" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"

echo "Installing modules..."
make O="$O" INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
_make O="$O" INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install

echo "Installing device trees..."
install -Dt "$modulesdir/dtbs" "$O"/arch/arm64/boot/dts/apple/*.dtb
Expand Down Expand Up @@ -142,7 +176,12 @@ _package-headers() {
#install -Dt "$builddir/tools/objtool" tools/objtool/objtool

# required when DEBUG_INFO_BTF_MODULES is enabled
install -Dt "$builddir/tools/bpf/resolve_btfids" $O/tools/bpf/resolve_btfids/resolve_btfids
if grep -qx 'CONFIG_DEBUG_INFO_BTF=y' "$O/.config"; then
[[ -x $O/tools/bpf/resolve_btfids/resolve_btfids ]] || {
echo 'BTF is enabled but resolve_btfids was not built' >&2; return 1;
}
install -Dt "$builddir/tools/bpf/resolve_btfids" "$O/tools/bpf/resolve_btfids/resolve_btfids"
fi

echo "Installing headers..."
cp -t "$builddir" -a include $O/include
Expand All @@ -169,7 +208,7 @@ _package-headers() {
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;

echo "Installing unstripped VDSO..."
make O="$O" INSTALL_MOD_PATH="$pkgdir/usr" vdso_install link=
_make O="$O" INSTALL_MOD_PATH="$pkgdir/usr" vdso_install link=

echo "Removing unneeded architectures..."
local arch
Expand Down
25 changes: 25 additions & 0 deletions pkgbuilds/linux-aurora/bindgen-kernel.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
"""Adapt one unsupported generated lint to Rust 1.85; retain layout assertions."""
import os
from pathlib import Path
import subprocess
import sys

args = sys.argv[1:]
result = subprocess.run([os.environ["AURORA_BINDGEN_REAL"], *args], stdout=subprocess.PIPE)
if result.returncode:
sys.stdout.buffer.write(result.stdout)
raise SystemExit(result.returncode)
output = None
for index, value in enumerate(args):
if value in ("-o", "--output"):
output = Path(args[index + 1])
elif value.startswith("--output="):
output = Path(value.split("=", 1)[1])
attribute = b"#[allow(unnecessary_transmutes)]\n"
if output is None:
sys.stdout.buffer.write(result.stdout.replace(attribute, b""))
else:
original = output.read_bytes()
output.write_bytes(original.replace(attribute, b""))
sys.stdout.buffer.write(result.stdout)
Loading
Loading