No description
gnupg builds two architecture diagrams into its manual, one needing ImageMagick and one transfig -- two toolchains for two pictures. --disable-doc is gnupg own switch, verified present in configure before use. The hook was written twice. The first version looked for a ./configure line ending in a backslash and asserted its way out; gnupg uses an options ARRAY. Both shapes appear in this port, so a hook has to read the file rather than assume the house style. systemd generates source from jinja2 templates and stops without it. Not documentation this time -- the build cannot proceed. --- FR --- gnupg construit deux diagrammes dans son manuel, l un exigeant ImageMagick et l autre transfig -- deux chaines d outils pour deux images. --disable-doc est son propre interrupteur, verifie present dans configure avant usage. Le hook a ete ecrit deux fois. La premiere version cherchait une ligne ./configure terminee par une contre-oblique et s est arretee sur son assertion ; gnupg emploie un TABLEAU d options. Les deux formes existent dans ce portage : un hook doit lire le fichier plutot que supposer le style maison. systemd genere du code depuis des gabarits jinja2 et s arrete sans lui. Pas de la documentation cette fois -- la construction ne peut pas avancer. Assisted-by: Claude Opus 5 |
||
|---|---|---|
| .github/workflows | ||
| arch-kernel | ||
| boot | ||
| patches | ||
| scripts | ||
| .env.example | ||
| .gitignore | ||
| CODEOWNERS | ||
| Containerfile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| RELAIS.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.