No description
nss failed with /build/nss/PKGBUILD: line 55: ../certdata2pem.py: No such file or directory on a file that was plainly there. makepkg links a PKGBUILD local source files into srcdir, and having extracted on the HOST it wrote the host absolute path. Inside the chroot that path does not exist; only /build does. No such file or directory for an executable is usually its interpreter, which sent the first guess to the shebang -- #!/usr/bin/python, with python, python3 and python3.14 all present. It was the script itself, reached through a link to nowhere. Only links under the work directory are repointed: a link to anywhere else was not made by this mechanism and is not ours to redirect. --- FR --- nss echouait sur /build/nss/PKGBUILD: line 55: ../certdata2pem.py: No such file or directory pour un fichier bien present. makepkg lie les sources locales d un PKGBUILD dans srcdir, et ayant extrait sur l HOTE il a ecrit le chemin absolu de l hote. Dans le chroot ce chemin n existe pas ; seul /build existe. No such file or directory pour un executable designe d ordinaire son interprete, ce qui a envoye la premiere hypothese vers le shebang -- #!/usr/bin/python, avec python, python3 et python3.14 tous presents. C etait le script lui-meme, atteint par un lien vers nulle part. Seuls les liens sous le repertoire de travail sont rediriges : un lien ailleurs n a pas ete cree par ce mecanisme et ne nous appartient 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.