Files
zosbuilder/build
Jan De Landtsheer 948a10a3ce feat: add binary optimization with strip and upx compression
- Added upx package to Dockerfile.alpine build dependencies
- Added optimize_binary() function to compile-components.sh
- Automatically strips debug symbols from all Zero-OS binaries
- Applies UPX compression with --best --lzma for maximum size reduction
- Optimizes binaries in both initramfs and output directories
- Shows size reduction stats (original → stripped → compressed)
- Graceful fallback if UPX fails, keeping stripped version

This significantly reduces initramfs size by compressing zinit, rfs, and mycelium binaries.
2025-08-22 16:43:43 +02:00
..