archlinux-s390x/scripts
Josephine Pfeiffer d7690f4c1d
fix ci
2025-06-01 14:03:19 +02:00
..
build-all.sh fix ci 2025-06-01 14:03:19 +02:00
build-busybox-s390x.sh mvp bootable system 2025-06-01 11:53:38 +02:00
build-container.sh mvp bootable system 2025-06-01 11:53:38 +02:00
build-initramfs-final.sh fix ci 2025-06-01 14:03:19 +02:00
build-kernel-container.sh mvp bootable system 2025-06-01 11:53:38 +02:00
prepare-boot.sh mvp bootable system 2025-06-01 11:53:38 +02:00
README.md mvp bootable system 2025-06-01 11:53:38 +02:00
run-qemu-initramfs-only.sh mvp bootable system 2025-06-01 11:53:38 +02:00
setup-path.sh mvp bootable system 2025-06-01 11:53:38 +02:00
test-qemu.sh mvp bootable system 2025-06-01 11:53:38 +02:00
use-s390x-toolchain.sh mvp bootable system 2025-06-01 11:53:38 +02:00

Arch Linux s390x Build Scripts

The project focuses on a single proven approach: using modified Arch Linux mkinitcpio with s390x support.

Core Build Workflow (7 scripts)

  1. install-toolchain-fedora-kernel.sh - Install s390x cross-compilation toolchain via Fedora container
  2. build-kernel-container.sh - Build Linux kernel in Fedora container
  3. build-mkinitcpio-container.sh - Build container with upgraded meson for mkinitcpio ⭐
  4. build-initramfs-final.sh - MAIN METHOD: Build initramfs using modified mkinitcpio ⭐
  5. prepare-boot.sh - Prepare boot directory with kernel, initramfs, and IPL files
  6. test-qemu.sh - Test the built system with QEMU s390x emulation
  7. setup-path.sh - Add toolchain wrappers to PATH (used by build-all.sh)

Modified mkinitcpio Implementation ⭐

Key Features:

  • s390x-specific configuration (mkinitcpio-s390x.conf)
  • Works with Fedora containers using upgraded meson (1.8.1)
  • Proper s390x module support (DASD, QETH, virtio devices)
  • Solves cross-compilation header issues that plagued busybox approaches