forked from tfgrid/zosbuilder
- kernel config changes - kernel version bump - added sgdisk to initramfs packages for zosstorage to work
69 lines
2.1 KiB
Plaintext
69 lines
2.1 KiB
Plaintext
# Zero OS Alpine Initramfs Builder Configuration
|
|
# This file contains all build-time configuration parameters
|
|
|
|
# System versions
|
|
ALPINE_VERSION="3.22"
|
|
KERNEL_VERSION="6.12.49"
|
|
|
|
# Rust configuration
|
|
RUST_TARGET="x86_64-unknown-linux-musl"
|
|
|
|
# Build optimization
|
|
OPTIMIZATION_LEVEL="max"
|
|
|
|
# Container configuration
|
|
CONTAINER_RUNTIME="auto"
|
|
BUILDER_IMAGE="zero-os-builder:latest"
|
|
|
|
# Compression settings
|
|
INITRAMFS_COMPRESSION="xz"
|
|
XZ_COMPRESSION_LEVEL="9"
|
|
|
|
# Testing configuration
|
|
QEMU_MEMORY="512M"
|
|
QEMU_TIMEOUT="60"
|
|
CLOUD_HYPERVISOR_MEMORY="512M"
|
|
|
|
# Build directories (relative to project root)
|
|
INSTALL_DIR="initramfs"
|
|
COMPONENTS_DIR="components"
|
|
KERNEL_DIR="kernel"
|
|
DIST_DIR="dist"
|
|
|
|
# Mirror configurations
|
|
ALPINE_MIRROR="https://dl-cdn.alpinelinux.org/alpine"
|
|
KERNEL_SOURCE_URL="https://cdn.kernel.org/pub/linux/kernel"
|
|
|
|
# RFS flists (firmware manifest naming)
|
|
# FIRMWARE_TAG controls firmware flist manifest naming for reproducible builds.
|
|
# - If set, firmware manifest becomes: firmware-$FIRMWARE_TAG.fl
|
|
# - If unset, the build embeds firmware-latest.fl, while standalone pack may default to date-based naming.
|
|
# Examples:
|
|
# FIRMWARE_TAG="20250908"
|
|
# FIRMWARE_TAG="v1"
|
|
#FIRMWARE_TAG="latest"
|
|
|
|
# Branding and customization guard (default off)
|
|
# Set to "true" to enable Zero-OS branding and passwordless root in initramfs.
|
|
# Both variables are accepted; ZEROOS_BRANDING takes precedence if both set.
|
|
ZEROOS_BRANDING="true"
|
|
ZEROOS_REBRANDING="true"
|
|
|
|
# Root account configuration
|
|
# Provide either ZEROOS_ROOT_PASSWORD_HASH (preferred, SHA-512 crypt) or ZEROOS_ROOT_PASSWORD (plain, will be hashed during build)
|
|
# Legacy variable names also supported: ROOT_PASSWORD_HASH / ROOT_PASSWORD
|
|
# Passwordless root is the default for branded builds when no password is provided.
|
|
ZEROOS_PASSWORDLESS_ROOT="true"
|
|
# ZEROOS_ROOT_PASSWORD_HASH="" # optional, preferred when setting a password
|
|
# ZEROOS_ROOT_PASSWORD="" # optional, dev-only; if set, overrides passwordless
|
|
# Feature flags
|
|
ENABLE_STRIP="true"
|
|
ENABLE_UPX="true"
|
|
ENABLE_AGGRESSIVE_CLEANUP="true"
|
|
ENABLE_2STAGE_MODULES="true"
|
|
|
|
# Debug and development
|
|
DEBUG_DEFAULT="0"
|
|
KEEP_BUILD_ARTIFACTS="false"
|
|
PARALLEL_JOBS="auto"
|