No description
Thirty-five packages pulled in nineteen more, and those two. The resolver named each round as precisely as the first, and it now reports satisfied: 101 packages, --nodeps off. THE MEASUREMENT THAT CHANGED ITS ANSWER. Four of round two were going to be avoided by dropping sub-packages -- sqlite-tcl, sqlite-analyzer, the openldap server, debuginfod -- reasoning that had been right for python-brotli. Measured instead: tcl, unixodbc and libmicrohttpd each cost ZERO new packages, because the closure had filled in around them. Building them beats four hooks, and it does not leave sqlite shipping an sqltclsh that cannot start. The arithmetic that was right at forty packages was wrong at a hundred and thirty. ca-certificates-mozilla is the only entry here that is not a library: it is the root certificate list itself, and ca-certificates is only the machinery around it. Without it the target trusts nothing and every HTTPS verification fails. It has no packaging repo -- nss produces it -- so nss and nspr came too, measured first: nspr free, nss needing only mercurial on the host, and hg.mozilla.org answering in 0.3s. 172 certificates shipped. --- FR --- Trente-cinq paquets en ont tiré dix-neuf autres, puis ces deux-là. Le résolveur a nommé chaque tour aussi précisément que le premier, et il se déclare maintenant satisfait : 101 paquets, --nodeps désactivé. LA MESURE QUI A CHANGÉ SA RÉPONSE. Quatre paquets du deuxième tour allaient être évités en écartant des sous-paquets — sqlite-tcl, sqlite-analyzer, le serveur openldap, debuginfod — par un raisonnement juste pour python-brotli. Mesuré plutôt que supposé : tcl, unixodbc et libmicrohttpd coûtent ZÉRO paquet nouveau, la fermeture s'étant refermée autour d'eux. Les bâtir vaut mieux que quatre crochets, et évite de livrer un sqlite contenant un sqltclsh incapable de démarrer. L'arithmétique juste à quarante paquets était fausse à cent trente. ca-certificates-mozilla est la seule entrée ici qui ne soit pas une bibliothèque : c'est la liste des certificats racine elle-même, et ca-certificates n'en est que la mécanique. Sans lui la cible ne fait confiance à rien et toute vérification HTTPS échoue. Il n'a pas de dépôt de packaging — nss le produit — donc nss et nspr ont suivi, mesurés d'abord : nspr gratuit, nss ne réclamant que mercurial sur l'hôte, et hg.mozilla.org répondant en 0,3 s. 172 certificats livrés. 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.