Menu ▾ ▴

#27 Apple Silicon image, first slice: aarch64 CI, linux-kriss-asahi, QEMU-tested image

open
nobody
None
2026-11-16
2026-11-16
Anonymous
No

Originally created by: idiazraz

Starts the Apple Silicon image (ARCHITECTURE §13) as a first slice. §13 planned it for after 110; the maintainer decided to start it now, and §13 now says so.

What's in it

  • aarch64 CI. tools/ci/alarm.sh builds an Arch Linux ARM container on GitHub's free ubuntu-24.04-arm runners from the official ALARM rootfs. It checks the rootfs signature against the vendored build key, because the download is plain HTTP. pkgs.yml gets a build-aarch64 job. It builds kriss-keyring, -settings, -theme, -tools, -shell and -welcome on ALARM and, on main, publishes them with publish.sh and KRISS_GPG_KEY to a new release, repo-aarch64. The x86_64 job is unchanged: its build loop moved into tools/ci/build-pkgs.sh, which both jobs use.
  • pkgs/linux-kriss-asahi and kernel-asahi.yml. The Asahi kernel from asahi-alarm's linux-asahi PKGBUILD and config, with its own release name (-kriss-asahi). It provides linux-asahi, so asahi-meta accepts it. No CachyOS patches and no x86-64-v3. A guard fails the build if Kconfig silently drops the Rust GPU driver.
  • aarch64/ image and image-aarch64.yml. ALARM, then [asahi-alarm], then [kriss] (the [kriss] packages are built from the checkout, like the ISO). It comes in two flavours:
  • generic uses linux-aarch64 and is also written as a GPT disk. CI boots it in a QEMU virt VM with UEFI (edk2) until the KrissOS Shell starts.
  • asahi uses asahi-alarm's linux-asahi until linux-kriss-asahi is published, plus asahi-meta and asahi-desktop-meta. It is packed as an Asahi installer zip (esp/ + root.img) with installer_data.json.
  • Boot: a unified kernel image at EFI/BOOT/BOOTAA64.EFI, with no boot loader.
  • Asahi installer plumbing is in docs/apple-silicon.md: the partitions, installer_data.json, the boot chain, and the hosting plan (a release asset or R2, plus a bootstrap script that points INSTALLER_DATA at ours and reuses Asahi's installer).
  • kriss winapps and kriss-vm refuse to run on non-x86_64. WinBoat, kriss-vm, kriss-meta-gaming, Calamares and kriss-installer stay off aarch64.

Verified

  • Packages: packages is green. Both x86_64 and aarch64 (all six kriss-* packages on ALARM) build.
  • Kernel: kernel-asahi builds linux-kriss-asahi 7.2.12-3 (7.2.12-3-1-kriss-asahi) natively on ubuntu-24.04-arm in about 30 minutes. The package is 45 MB and the headers 33 MB.
  • asahi image: it builds and packs into krissos-aarch64-asahi.zip, with installer_data.json filled in.
  • generic image: it builds, boots in QEMU virt under TCG with edk2, the unified kernel image and Neoverse N1, and reaches KrissOS Shell started in about 100 s. The test then logs in on the serial console and captures the compositor's frame with grim: it shows the bar, the clock, the power pill and the Welcome window, and Quickshell's log shows its config loads with no QML errors. The boot-test-aarch64 artifact holds shell.png, Quickshell's log in serial.log, and scanout.png. QEMU's virtio-gpu scanout sticks at an early frame (only the wallpaper shows), so the test reads the compositor's view instead. Also checked locally: the generic image builds in Docker on an arm64 Mac.

Not verified

  • Nothing has run on Apple hardware: U-Boot → unified kernel image, update-m1n1 with linux-kriss-asahi, firmware loading, and the Asahi installer flow end to end. Installing on a Mac is the maintainer's call.
  • The asahi image is built and packed but never booted, because Apple hardware cannot be emulated.
  • Publishing to repo-aarch64 runs only on main, so the first real publish happens after merge.

Preview caveats

  • The image signs in automatically as kriss / password kriss, like the live ISO. A first-boot setup must replace that before anyone else gets the image.
  • The root filesystem is ext4, without the snapper rollback x86 has.

Related

Tickets: #33

Discussion


Log in to post a comment.