Repository navigation
Rename Asahi and m1n1 names to Aurora and aura - #324
RyanTheTide wants to merge 1 commit into
Conversation
Aurora's packages get Aurora names in the overlay: aura, linux-aurora, uboot-aurora, aurora-audio and alsa-ucm-conf-aurora. nixos-apple-silicon's modules and nixpkgs look packages up by their upstream names, so m1n1, linux-asahi, uboot-asahi, asahi-audio and alsa-ucm-conf-asahi now point at them, and aura keeps lib/m1n1/m1n1.bin as a link to lib/aura/aura.bin because nixos-apple-silicon's boot module reads that path. Stage 2 goes to the one file the enrolled Stage 1 loads: aurora/boot.bin (or boot-ctxr.bin), unless aurora/ has no Stage 2 file and m1n1/ has one, which is what a Stage 1 enrolled before the rename chainloads. That rule, tagged LEGACY-ASAHI(2027-02-28), is in install-stage2.sh, the commit service and the pre-switch check. The vendored bootchain.py also reads the asahi,m1n1-stage1-version property after aurora,aura-stage1-version. Mesa is built with -Dgallium-drivers=aurora and -Dvulkan-drivers=aurora (libvulkan_aurora.so, aurora_icd.aarch64.json, aurora_clc), the kernel validates arch/arm64/configs/aurora.config and the resolved config sets CONFIG_DRM_AURORA* (the vendored copy follows alarm-aurora's rename, 9c607db0), audio data is under share/aurora-audio with 99-aurora.conf and aurora-keep-profile.lua, the VA-API alias is aurora_drv_video.so, and aurora-bless builds from aa89bd07 (the 9b47a17 tree with its crates renamed) with -p aurora-bless. Option names of nixos-apple-silicon (hardware.asahi.*, boot.m1n1CustomLogo), the aurora-silicon/asahi-audio and alsa-ucm-conf-asahi repository names, the asahi-nvram and asahi-btsync command aliases and upstream licence lines are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Blockers: 4. The Stage 2 directory choice (aurora/ unless only m1n1/ has a Stage 2 file) matches alarm-aurora's
HW row: on the repinned head, Assisted-by: LLM (Claude:Opus 5.5) |
|
Superseded by #383: same change, recommitted with sign-off. |
Problem
Our own drivers, paths, packages and boot properties still carry the Asahi and m1n1 names. This repository is renamed to Aurora and aura together with the other repositories in the set below.
Change
Overlay packages get Aurora names, with aliases for the names the external Apple Silicon module looks up; the ESP rule matches the other distributions.
Testing
unittest 539 OK; every .nix file parses.
Still to run
Flake evaluation and builds once the pins move.
Full details
Renames the Asahi and m1n1 names this repository owns to Aurora and aura. Part of a cross-repository rename on branch
purge/asahi-to-aurora(linux, mesa, aura, u-boot, aurora-installer, asahi-audio, fedora-aurora#410, alarm-aurora). The kernel, Mesa and audio source pins still have to move to those branches before this builds.What changes
aura,linux-aurora,uboot-aurora,aurora-audio,alsa-ucm-conf-aurora; the flake outputs and our modules and checks use them. nixos-apple-silicon's modules and nixpkgs' PipeWire defaults look packages up by their upstream names, som1n1,linux-asahi,uboot-asahi,asahi-audioandalsa-ucm-conf-asahipoint at Aurora's packages.aurainstallslib/aura/aura.binand keepslib/m1n1/m1n1.binas a link, because nixos-apple-silicon's boot module reads that path.aurora/boot.bin(orboot-ctxr.bin), unlessaurora/has no Stage 2 file andm1n1/has one, which is what a Stage 1 enrolled before the rename chainloads. The rule is the same asaurora_stage2_dirin alarm-aurora, and it is ininstall-stage2.sh, the commit service (modules/installed.nix) andaurora-stage2 check. Image builds writeesp/aurora/.stage2/bootchain.pytakes fedora-aurora#410's rename:update-auramessages,AURA, andasahi,m1n1-stage1-versionread afteraurora,aura-stage1-version.stage2/provenance.jsonrecords the new digests.-Dgallium-drivers=aurora,-Dvulkan-drivers=aurora,libvulkan_aurora.so,aurora_icd.aarch64.json,aurora_clc. Kernel:arch/arm64/configs/aurora.config,CONFIG_DRM_AURORA*inkernel/config, which is byte-identical to alarm-aurora's renamedpackages/linux-aurora/config(9c607db0, recorded inkernel/provenance.json). Audio:share/aurora-audio,99-aurora.conf,aurora-keep-profile.lua. VA-API:aurora_drv_video.so.-p aurora-bless;locks/aurora-bless.Cargo.lockis that tree's lock.Transitional fallbacks (tagged
LEGACY-ASAHI(2027-02-28))m1n1/ESP Stage 2 rule aboveasahi,m1n1-stage1-versionpropertyLeft unchanged on purpose
hardware.asahi.*,boot.m1n1CustomLogo,system.build.m1n1), its GRUBextraFiles."m1n1/boot.bin"key thatinstalled.nixremoves, and the upstream package names listed above as aliases.aurora-silicon/asahi-audioandaurora-silicon/alsa-ucm-conf-asahirepository names (URLs, archive roots, issue references).asahi-nvramandasahi-btsynccommand and unit aliases, and upstream licence lines.Tests
python3 -m unittest discover -s tests: 539 tests OK. That includes a new install test covering all three ESP states:aurora/only,m1n1/only (for bothboot.binandboot-ctxr.bin), and both, whereaurora/wins.nix-instantiate --parseon every.nixfile (nixos/nix 2.28.4, aarch64): all parse.shellcheck scripts/install-stage2.sh: clean.nix flake check. The build host is at its disk floor, and the flake needs the renamed kernel, Mesa and audio pins first.tests/integrationneeds Nix on the host, the same as on main.Related changes
This is one part of a set of draft pull requests, all on branch
purge/asahi-to-aurora, that rename Asahi to Aurora and m1n1 to aura across our repositories. Names that cross a repository boundary (the/chosenproperties aura writes, the ESP Stage 2 paths, package names, Mesa build options) are changed together. Each old name that released software still uses is kept as a fallback markedLEGACY-ASAHI(2027-02-28).Assisted-by: LLM (Claude:Opus 5.5)