No description
Emptying PROCESSEDEXAMPLEFILES_PS was not enough: contrib/hdtbl/examples/mixed_pickles.roff:51: error: cannot open 'gnu.eps' fatal error: PSPIC failed to include 'gnu.eps' hdtbl renders its example tables to PostScript and one of them shows the GNU logo. Rather than chase a third, the consumers were COUNTED: exactly two files include it, doc/webpage.ms and mixed_pickles.roff. Both lists are emptied, and the hook now fails loudly if a third ever appears -- so the next reader gets a sentence instead of a PSPIC error. Considered and rejected: supplying a placeholder gnu.eps. It would have ended the whack-a-mole in one line, and it would have put a blank box where a logo belongs in a document this port then ships. Not rendering the document at all is honest; rendering it wrong is not. --- FR --- Vider PROCESSEDEXAMPLEFILES_PS ne suffisait pas : contrib/hdtbl/examples/mixed_pickles.roff:51: error: cannot open 'gnu.eps' fatal error: PSPIC failed to include 'gnu.eps' hdtbl rend ses tables d'exemple en PostScript, et l'une montre le logo GNU. Plutôt que d'en poursuivre un troisième, les consommateurs ont été COMPTÉS : exactement deux fichiers l'incluent, doc/webpage.ms et mixed_pickles.roff. Les deux listes sont vidées, et le hook échoue bruyamment si un troisième apparaît — le prochain lecteur aura une phrase au lieu d'une erreur PSPIC. Envisagé puis rejeté : fournir un gnu.eps de remplacement. Cela aurait clos la poursuite en une ligne, et aurait mis un cadre vide là où un logo doit être, dans un document que ce portage livre ensuite. Ne pas rendre le document est honnête ; le rendre faux ne l'est pas. 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.