forked from tfgrid/zosbuilder
- Fix container output visibility with proper TTY handling and debug mode - Fix build order: kernel modules built before initramfs creation - Implement two-stage kernel build to resolve chicken-and-egg dependency - Fix sed command issues in kernel configuration with direct execution - Add diffutils package to container for proper kernel build support - Enhance NIC module/firmware correlation with intelligent selection - Fix module staging logic: all NICs loaded in stage1 before network up - Add smart firmware installation based on module requirements - Create comprehensive function documentation (scripts/functionlist.md) - Add debug container script for troubleshooting Major fixes: * Container builds now show real-time output * Kernel builds work with proper GNU diff support * Module/firmware selection optimized for common hardware * Build process handles dependencies correctly * Documentation provides complete function reference
35 lines
1.9 KiB
Plaintext
35 lines
1.9 KiB
Plaintext
# Module loading specification for Zero-OS Alpine initramfs
|
|
# Format: STAGE:MODULE_NAME:FIRMWARE_PACKAGE (optional)
|
|
# Focus on most common NIC modules to ensure networking works on most hardware
|
|
|
|
# Stage 1: ALL networking and essential boot modules
|
|
# All NICs must be loaded BEFORE network can come up
|
|
stage1:virtio_net:none # Virtio network (VMs, cloud)
|
|
stage1:virtio_scsi:none # Virtio SCSI (VMs, cloud)
|
|
stage1:virtio_blk:none # Virtio block (VMs, cloud)
|
|
stage1:virtio_pci:none # Virtio PCI bus
|
|
stage1:e1000:linux-firmware-intel # Intel E1000 (very common)
|
|
stage1:e1000e:linux-firmware-intel # Intel E1000E (very common)
|
|
stage1:r8169:linux-firmware-realtek # Realtek (most common desktop/server)
|
|
stage1:igb:linux-firmware-intel # Intel Gigabit (servers)
|
|
stage1:ixgbe:linux-firmware-intel # Intel 10GbE (servers)
|
|
stage1:i40e:linux-firmware-intel # Intel 40GbE (modern servers)
|
|
stage1:ice:linux-firmware-intel # Intel E800 series (latest)
|
|
stage1:8139too:none # Realtek 8139 (legacy)
|
|
stage1:8139cp:none # Realtek 8139C+ (legacy)
|
|
stage1:bnx2:linux-firmware-bnx2 # Broadcom NetXtreme
|
|
stage1:bnx2x:linux-firmware-bnx2 # Broadcom NetXtreme II
|
|
stage1:tg3:none # Broadcom Tigon3
|
|
stage1:b44:none # Broadcom 44xx
|
|
stage1:atl1:none # Atheros L1
|
|
stage1:atl1e:none # Atheros L1E
|
|
stage1:atl1c:none # Atheros L1C
|
|
stage1:alx:none # Atheros Alx
|
|
stage1:scsi_mod:none # SCSI subsystem
|
|
stage1:sd_mod:none # SCSI disk support
|
|
stage1:ahci:none # SATA AHCI
|
|
stage1:nvme:none # NVMe storage
|
|
stage1:tun:none # TUN/TAP for networking
|
|
stage1:overlay:none # OverlayFS for containers
|
|
|