forked from tfgrid/zosbuilder
initramfs: switch to passwd -d -R in scripts/lib/initramfs.sh:initramfs_finalize_customization() for shadow-aware passwordless root (aligned with 9423b708 intent), drop sed and chpasswd paths, and add validation diagnostics. common: normalize INSTALL_DIR/COMPONENTS_DIR/KERNEL_DIR/DIST_DIR to absolute paths after sourcing config to prevent validation resolving under kernel/current. Dockerfile: include shadow (for passwd/chpasswd), ensure openssl and openssl-dev present; remove perl. config: introduce ZEROOS_PASSWORDLESS_ROOT default true and comment password vars. docs: NOTES.md updated with diagnostics and flow.
50 lines
909 B
Plaintext
50 lines
909 B
Plaintext
# Alpine packages for Zero-OS embedded initramfs
|
|
# Based on existing configs/packages-minimal.txt
|
|
# Target: ~50MB total (not 700MB!)
|
|
|
|
# Core system (essential only)
|
|
alpine-baselayout
|
|
alpine-baselayout-data
|
|
busybox
|
|
musl
|
|
agetty
|
|
|
|
# Module loading & hardware detection
|
|
eudev
|
|
eudev-hwids
|
|
eudev-libs
|
|
eudev-netifnames
|
|
kmod
|
|
|
|
# Console/terminal management
|
|
util-linux
|
|
wget
|
|
|
|
# Essential networking (for Zero-OS connectivity)
|
|
iproute2
|
|
ethtool
|
|
nftables
|
|
|
|
# Filesystem support (minimal)
|
|
btrfs-progs
|
|
dosfstools
|
|
|
|
# Essential libraries only
|
|
zlib
|
|
|
|
# Network utilities (minimal)
|
|
dhcpcd
|
|
tcpdump
|
|
bmon
|
|
|
|
# Random number generation (for crypto/security)
|
|
haveged
|
|
|
|
# SSH access and terminal multiplexer
|
|
openssh-server
|
|
zellij
|
|
|
|
# Essential debugging and monitoring tools included
|
|
# NO development tools, NO curl/wget, NO python, NO redis
|
|
# NO massive linux-firmware package
|
|
# Other tools will be loaded from RFS after network connectivity |