No description
Two more documentation-and-toolchain cuts, both using the project's own switch. systemd asked for libbpf, which this port does not package -- and packaging it means clang and llvm, an entire second compiler toolchain for unit features nothing here uses yet. pacman asked for asciidoc, the same Python documentation stack already declined for doxygen, asciidoctor and a2x. pacman is worth naming out loud: it is the package manager, so its man pages are the ones a user reaches for first. This is the most visible of the documentation cuts and the strongest single argument for restoring them at stage 3. --- FR --- Deux coupes de plus, documentation et chaîne d'outils, chacune par l'interrupteur prévu par le projet lui-même. systemd réclamait libbpf, que ce portage ne paquette pas — et le paqueter suppose clang et llvm, soit une seconde chaîne de compilation entière pour des fonctions d'unité dont rien ici ne se sert encore. pacman réclamait asciidoc, la même pile Python déjà écartée pour doxygen, asciidoctor et a2x. pacman mérite d'être nommé : c'est le gestionnaire de paquets, donc ses pages de manuel sont les premières qu'un utilisateur cherche. C'est la plus visible de ces coupes, et le meilleur argument pour les restaurer à l'étage 3. Assisted-by: Claude Opus 5 |
||
|---|---|---|
| .github/workflows | ||
| arch-kernel | ||
| boot | ||
| patches | ||
| scripts | ||
| .env.example | ||
| .gitignore | ||
| CODEOWNERS | ||
| Containerfile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| TODO.md | ||
Arch Linux s390x
A port of Arch Linux to IBM s390x mainframe architecture with systemd support.
Boots a full Arch Linux system on IBM mainframes (or QEMU s390x emulation) using a hybrid build: cross-compilation for the kernel, native s390x compilation on z/VM for userspace.
Quick Start
make container # build dev container (first time)
cp .env.example .env # configure z/VM access
make all # build kernel + initramfs + systemd
make test-systemd # boot it
What Works
- Arch Linux kernel 6.18.6-arch1 with Arch patches, cross-compiled
- Initramfs via modified mkinitcpio
- Static busybox built natively on z/VM, 2.3MB
- Root filesystem with ext4, switch_root to real rootfs
- Systemd as PID 1
Pacman, bash, and GNU coreutils are not yet ported.
Build System
The build uses two tiers:
Cross-compilation (x86_64 host): Kernel is built in a Fedora 43 container with s390x-linux-gnu-gcc. Initramfs is generated with a patched mkinitcpio that handles cross-architecture binary injection.
Native compilation (s390x z/VM): Busybox and systemd must be built on real s390x hardware. The z/VM system runs RHEL 9.6 with GCC 11.5.0. Scripts handle SSH deployment and retrieval automatically via .env configuration.