No description
Stage-2 pass two never reached its first package: unable to satisfy dependency 'perl-locale-gettext' required by help2man stage2: populate failed help2man had built cleanly the moment before. Stage 1 builds with --nodeps, so a successful build says nothing about whether the repository is complete -- and this is the failure that says it out loud, by refusing to assemble the chroot. Asked the resolver for the whole closure rather than fixing one name and trying again: pacman stops at the first unsatisfiable dependency, so the count matters more than the first line. One gap, then 148 packages resolved with --nodeps off, up from 101 before the tools went in. --- FR --- La deuxième passe de l'étage 2 n'a jamais atteint son premier paquet : unable to satisfy dependency 'perl-locale-gettext' required by help2man stage2: populate failed help2man venait de se bâtir sans une erreur. L'étage 1 bâtit avec --nodeps : une construction réussie ne dit rien de la complétude du dépôt — et voici l'échec qui le dit tout haut, en refusant d'assembler le chroot. Le résolveur a été interrogé sur toute la fermeture, plutôt que de corriger un nom et de réessayer : pacman s'arrête au premier manque, donc le compte importe plus que la première ligne. Un seul trou, puis 148 paquets résolus avec --nodeps éteint, contre 101 avant l'ajout des outils. 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.